community-catalog/templates/gitlab/0/docker-compose.yml
ununseptium 08a8804bc4 Add more port flexibility to gitlab (#335)
* added questions to alter the default ports

* Implemented port variability
2016-11-23 19:55:34 +02:00

25 lines
466 B
YAML

gitlab-server:
ports:
- ${ssh_port}:22/tcp
- ${http_port}:80/tcp
- ${https_port}:443/tcp
labels:
io.rancher.sidekicks: gitlab-data
hostname: ${gitlab_hostname}
image: gitlab/gitlab-ce:8.5.1-ce.0
volumes_from:
- gitlab-data
gitlab-data:
labels:
io.rancher.container.start_once: 'true'
entrypoint:
- /bin/true
hostname: gitdata
image: gitlab/gitlab-ce:8.5.1-ce.0
volumes:
- /etc/gitlab
- /var/log/gitlab
- /var/opt/gitlab