mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
16 lines
378 B
YAML
16 lines
378 B
YAML
gitlab:
|
|
image: gitlab/gitlab-ce
|
|
hostname: git.example.com
|
|
environment:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
external_url 'https://git.example.com'
|
|
gitlab_rails['gitlab_shell_ssh_port'] = 2222
|
|
ports:
|
|
- "443:443"
|
|
- "2222:22"
|
|
volumes:
|
|
- ./gitlab/config:/etc/gitlab
|
|
- ./gitlab/logs:/var/log/gitlab
|
|
- ./gitlab/data:/var/opt/gitlab
|
|
restart: always
|