homelab-docker-compose/gitlab.yml
2022-08-18 14:29:21 -04:00

19 lines
512 B
YAML

services:
gitlab:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.example.com'
volumes:
- /containers/data/gitlab/config:/etc/gitlab
- /containers/data/gitlab/logs:/var/log/gitlab
- /containers/data/gitlab/data:/var/opt/gitlab
- /containers/data/gitlab/backup:/backup
ports:
- "10022:22"
- "60099:80"
- "60098:443"
logging:
driver: fluentd
options:
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"