2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update gitlab

This commit is contained in:
kev
2016-06-09 23:41:17 +08:00
parent a38e36de2e
commit 1a376561d0
3 changed files with 31 additions and 14 deletions

View File

@@ -1,12 +1,15 @@
gitlab:
image: gitlab/gitlab-ce
hostname: gitlab.example.com
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.example.com'
ports:
- "8443:443"
- "8080:80"
- "2222:22"
- "22:22"
- "80:80"
- "443:443"
volumes:
- /srv/gitlab/config:/etc/gitlab
- /srv/gitlab/logs:/var/log/gitlab
- /srv/gitlab/data:/var/opt/gitlab
privileged: true
- ./gitlab/config:/etc/gitlab
- ./gitlab/logs:/var/log/gitlab
- ./gitlab/data:/var/opt/gitlab
restart: always