diff --git a/templates/gitlab-ce/0/docker-compose.yml b/templates/gitlab-ce/0/docker-compose.yml index e69de29..1de4503 100644 --- a/templates/gitlab-ce/0/docker-compose.yml +++ b/templates/gitlab-ce/0/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/templates/gitlab-ce/config.yml b/templates/gitlab-ce/config.yml index e69de29..ad2bcec 100644 --- a/templates/gitlab-ce/config.yml +++ b/templates/gitlab-ce/config.yml @@ -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/ \ No newline at end of file