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: