updated traefik configurations

This commit is contained in:
2025-11-05 22:47:01 +00:00
parent a070f44d87
commit 2b9f142b7a
5 changed files with 31 additions and 70 deletions

View File

@@ -33,11 +33,8 @@ services:
- PAPERLESS_SECRET_KEY_FILE=/run/secrets/paperless-secret-key
- PAPERLESS_ADMIN_PASSWORD_FILE=/run/secrets/paperless-admin-pass
- PAPERLESS_URLS=https://docs.frostlabs.me
- PAPERLESS_ALLOWED_HOSTS=docs.frostlabs.me,docs.frostlabs.home
- PAPERLESS_CSRF_TRUSTED_ORIGINS=https://docs.frostlabs.me,https://docs.frostlabs.home
# - PAPERLESS_URLS=https://docs.home.frostlabs.me
# - PAPERLESS_ALLOWED_HOSTS=docs.home.frostlabs.me
# - PAPERLESS_CSRF_TRUSTED_ORIGINS=https://docs.home.frostlabs.me
- PAPERLESS_ALLOWED_HOSTS=docs.frostlabs.me
- PAPERLESS_CSRF_TRUSTED_ORIGINS=https://docs.frostlabs.me
- PAPERLESS_REDIS=redis://paperless_redis:6379
- PAPERLESS_DBHOST=10.0.4.10
- PAPERLESS_DBPORT=5432
@@ -70,7 +67,7 @@ services:
reservations:
memory: 1G
labels:
- "traefik.enable=false"
- "traefik.enable=true"
- "traefik.swarm.network=homelab"
- "traefik.http.routers.paperless.rule=Host(`docs.frostlabs.me`)"
- "traefik.http.routers.paperless.entrypoints=websecure"