Configure relay for production certificate resolver

This commit is contained in:
diyaa
2026-07-26 19:52:43 +02:00
parent 97628aa9e9
commit f0b930ebce
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -2,5 +2,7 @@ PORT=3000
MAX_FILE_SIZE_MB=25
UPLOADS_DIR=/data/files
FILE_TTL_DAYS=30
# Must match the certificate resolver configured by the host Traefik instance.
TRAEFIK_CERT_RESOLVER=myresolver
# Required for POST /admin/cleanup. Generate a unique value, for example: openssl rand -hex 32
ADMIN_TOKEN=replace-with-a-unique-random-secret
+1 -1
View File
@@ -14,7 +14,7 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.fchati.rule=Host(`fchati.diyaa.de`)"
- "traefik.http.routers.fchati.entrypoints=websecure"
- "traefik.http.routers.fchati.tls.certresolver=letsencrypt"
- "traefik.http.routers.fchati.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-myresolver}"
- "traefik.http.services.fchati.loadbalancer.server.port=3000"
volumes: