that was easy
This commit is contained in:
parent
1441557419
commit
a77357ffe0
Binary file not shown.
7
gitlab/.env.example
Normal file
7
gitlab/.env.example
Normal 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
1
gitlab/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/
|
19
gitlab/docker-compose.yml
Normal file
19
gitlab/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user