Enabled prometheus forgejo

This commit is contained in:
Ada 2024-12-31 21:39:47 +01:00
parent f0d1071e8c
commit 27e8dc5830
Signed by: ada
GPG key ID: 6A7F898157C6DE6E

View file

@ -47,6 +47,8 @@ services:
- FORGEJO__markup.pandoc_rst__IS_INPUT_FILE=false
- FORGEJO__mailer__SMTP_ADDR=mx.gnous.eu
- FORGEJO__mailer__SMTP_PORT=587
- FORGEJO__metrics__ENABLED=true
# - FORGEJO__mailer__FROM=${SMTP_USER}
# - FORGEJO__mailer__USER=${SMTP_USER}
# - FORGEJO__mailer__PASSWD=${SMTP_PASS}
@ -67,7 +69,7 @@ services:
- "traefik.enable=true"
# web server
- "traefik.http.services.forgejo-service-gnous.loadbalancer.server.port=3001"
- "traefik.http.routers.forgejognous.rule=Host(`git.gnous.eu`)"
- "traefik.http.routers.forgejognous.rule=(Host(`git.gnous.eu`) && !Path(`/metrics`))"
- "traefik.http.routers.forgejognous.tls=true"
- "traefik.http.routers.forgejognous.tls.certresolver=defaultacme"
- "traefik.http.routers.forgejognous.entrypoints=websecure"