From cd3df10022de760016a89cc6a477bcb5f46555ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gramain?= Date: Sun, 20 Oct 2024 20:38:07 +0200 Subject: [PATCH] fix env --- compute-1-mep/forgejo/docker-compose.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/compute-1-mep/forgejo/docker-compose.yaml b/compute-1-mep/forgejo/docker-compose.yaml index fbe358c..5dac365 100644 --- a/compute-1-mep/forgejo/docker-compose.yaml +++ b/compute-1-mep/forgejo/docker-compose.yaml @@ -12,6 +12,8 @@ services: image: codeberg.org/forgejo/forgejo:8.0.3 restart: always container_name: forgejo + env_file: + - .env environment: - USER_UID=1000 - USER_GID=1000 @@ -45,13 +47,13 @@ services: - FORGEJO__markup.pandoc_rst__IS_INPUT_FILE=false - FORGEJO__mailer__SMTP_ADDR=mx.gnous.eu - FORGEJO__mailer__SMTP_PORT=587 - - FORGEJO__mailer__FROM=${SMTP_USER} - - FORGEJO__mailer__USER=${SMTP_USER} - - FORGEJO__mailer__PASSWD=${SMTP_PASS} - - FORGEJO__database__HOST=${MEP_DB_HOST} - - FORGEJO__database__NAME=${FORGEJO_DB_NAME} - - FORGEJO__database__USER=${FORGEJO_DB_USER} - - FORGEJO__database__PASSWD=${FORGEJO_DB_PASS} + # - FORGEJO__mailer__FROM=${SMTP_USER} + # - FORGEJO__mailer__USER=${SMTP_USER} + # - FORGEJO__mailer__PASSWD=${SMTP_PASS} + # - FORGEJO__database__HOST=${MEP_DB_HOST} + # - FORGEJO__database__NAME=${FORGEJO_DB_NAME} + # - FORGEJO__database__USER=${FORGEJO_DB_USER} + # - FORGEJO__database__PASSWD=${FORGEJO_DB_PASS} networks: - gitea volumes: @@ -76,8 +78,6 @@ services: - "traefik.tcp.routers.forgejo-ssh-gnous.rule=HostSNI(`*`)" - "traefik.tcp.routers.forgejo-ssh-gnous.service=forgejo-ssh-gnous" - "traefik.tcp.services.forgejo-ssh-gnous.loadbalancer.server.port=3002" - env_file: - - .env depends_on: - cache cache: