20 lines
514 B
YAML
20 lines
514 B
YAML
services:
|
|
gitlab:
|
|
image: gitlab/gitlab-ee:16.9.6-ee.0
|
|
container_name: gitlab
|
|
restart: always
|
|
hostname: 'gitlab.${DOMAIN}'
|
|
environment:
|
|
- VIRTUAL_HOST=gitlab.${DOMAIN}
|
|
- LETSENCRYPT_HOST=gitlab.${DOMAIN}
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
volumes:
|
|
- '${CONFIG_LOCATION}/gitlab:/etc/gitlab'
|
|
- '${CONFIG_LOCATION}/logs:/var/log/gitlab'
|
|
- '${DATA_LOCATION}/data:/var/opt/gitlab'
|
|
shm_size: '256m'
|
|
networks:
|
|
default:
|
|
name: nginx-proxy
|
|
external: true
|