#36 for Gitlab

This commit is contained in:
Joey Hafner 2022-11-01 00:32:28 -07:00
parent da154beae5
commit 55aea52473
4 changed files with 10 additions and 4 deletions

View File

@ -15,6 +15,8 @@ services:
hostname: 'gitlab.jafner.net' hostname: 'gitlab.jafner.net'
networks: networks:
- web - web
env_file:
- gitlab.env
environment: environment:
GITLAB_OMNIBUS_CONFIG: | GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.jafner.net' external_url 'https://gitlab.jafner.net'
@ -103,8 +105,9 @@ services:
loki-timeout: "2s" loki-timeout: "2s"
keep-file: "true" keep-file: "true"
restart: "no" restart: "no"
environment: env_file:
- GODEBUG="x509ignoreCN=0" - gitlab.env
- runner.env
volumes: volumes:
- ${DOCKER_DATA}/runner-config:/etc/gitlab-runner - ${DOCKER_DATA}/runner-config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
@ -123,8 +126,9 @@ services:
loki-timeout: "2s" loki-timeout: "2s"
keep-file: "true" keep-file: "true"
restart: "no" restart: "no"
environment: env_file:
- GODEBUG="x509ignoreCN=0" - gitlab.env
- runner.env
volumes: volumes:
- ${DOCKER_DATA}/runner-config:/etc/gitlab-runner - ${DOCKER_DATA}/runner-config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock

View File

@ -1,2 +1,3 @@
# Volumes
DOCKER_DATA=/home/joey/data/gitlab DOCKER_DATA=/home/joey/data/gitlab
DOCKER_CONFIG=/home/joey/docker_config/gitlab DOCKER_CONFIG=/home/joey/docker_config/gitlab

View File

@ -0,0 +1 @@
GODEBUG="x509ignoreCN=0"