updated traefik configurations
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user