mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
17 lines
384 B
YAML
17 lines
384 B
YAML
gitlab:
|
|
image: gitlab/gitlab-ce
|
|
hostname: git.example.com
|
|
environment:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
external_url 'https://git.example.com'
|
|
nginx['redirect_http_to_https'] = true
|
|
ports:
|
|
- "22:22"
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./gitlab/config:/etc/gitlab
|
|
- ./gitlab/logs:/var/log/gitlab
|
|
- ./gitlab/data:/var/opt/gitlab
|
|
restart: always
|