Gitlab catalog creation

This commit is contained in:
William Miceli
2018-03-21 17:25:28 -04:00
parent 7075ea7730
commit 9c15c46c2a
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
version: '2'
services:
gitlab-ce:
image: gitlab/gitlab-ce:latest
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url ${EXTERNAL_URL}
hostname: ${HOSTNAME}
labels:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
restart: always
volumes:
- ${CONFIG_VOLUME}:/etc/gitlab:nocopy
- ${LOGS_VOLUME}:/var/lob/gitlab:nocopy
- ${DATA_VOLUME}:/var/opt/gitlab:nocopy
volumes_driver: rancher-nfs

View File

@@ -0,0 +1,8 @@
name: Gitlab (Community Edition)
description: |
Will fill this in later.
version: latest
category: Versioning
maintainer: WilliamMiceli
license:
projectURL: https://hub.docker.com/r/gitlab/gitlab-ce/