2015-08-23 09:54:55 +00:00
|
|
|
gitlab:
|
|
|
|
image: gitlab/gitlab-ce
|
2016-06-10 04:35:11 +00:00
|
|
|
hostname: git.example.com
|
2016-06-09 15:41:17 +00:00
|
|
|
environment:
|
|
|
|
GITLAB_OMNIBUS_CONFIG: |
|
2016-06-10 04:35:11 +00:00
|
|
|
external_url 'https://git.example.com'
|
2016-09-02 02:27:40 +00:00
|
|
|
gitlab_rails['gitlab_shell_ssh_port'] = 2222
|
2015-08-23 09:54:55 +00:00
|
|
|
ports:
|
2016-06-09 15:41:17 +00:00
|
|
|
- "443:443"
|
2016-09-02 02:27:40 +00:00
|
|
|
- "2222:22"
|
2015-08-23 09:54:55 +00:00
|
|
|
volumes:
|
2016-06-09 15:41:17 +00:00
|
|
|
- ./gitlab/config:/etc/gitlab
|
|
|
|
- ./gitlab/logs:/var/log/gitlab
|
|
|
|
- ./gitlab/data:/var/opt/gitlab
|
2015-08-23 09:54:55 +00:00
|
|
|
restart: always
|