mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +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
|