mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:14:57 +02:00
16 lines
345 B
YAML
16 lines
345 B
YAML
gitlab:
|
|
image: gitlab/gitlab-ce
|
|
hostname: gitlab.example.com
|
|
environment:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
external_url 'https://gitlab.example.com'
|
|
ports:
|
|
- "22:22"
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./gitlab/config:/etc/gitlab
|
|
- ./gitlab/logs:/var/log/gitlab
|
|
- ./gitlab/data:/var/opt/gitlab
|
|
restart: always
|