that was easy

This commit is contained in:
Neuro 2024-05-05 01:09:12 -04:00
parent 1441557419
commit a77357ffe0
4 changed files with 27 additions and 0 deletions

Binary file not shown.

7
gitlab/.env.example Normal file
View File

@ -0,0 +1,7 @@
DOMAIN=example.com
UID=1000
GID=1000
TZ=Etc/UTC
CONFIG_LOCATION=./config
DATA_LOCATION=./data
EMAIL=example@mail.com

1
gitlab/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data/

19
gitlab/docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
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