1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/gitlab/docker-compose.yml

16 lines
345 B
YAML
Raw Normal View History

2015-08-23 11:54:55 +02:00
gitlab:
image: gitlab/gitlab-ce
2016-06-09 17:41:17 +02:00
hostname: gitlab.example.com
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.example.com'
2015-08-23 11:54:55 +02:00
ports:
2016-06-09 17:41:17 +02:00
- "22:22"
- "80:80"
- "443:443"
2015-08-23 11:54:55 +02:00
volumes:
2016-06-09 17:41:17 +02:00
- ./gitlab/config:/etc/gitlab
- ./gitlab/logs:/var/log/gitlab
- ./gitlab/data:/var/opt/gitlab
2015-08-23 11:54:55 +02:00
restart: always