URGENT: Fix production Paperless integration
- Remove hardcoded fallbacks from config.py (relied on old prod values) - Add missing Paperless env vars to compose.yml for production - Update compose.dev.yml with complete Paperless configuration - Fixes 500 errors by ensuring all env vars are passed to containers Required: VPS .env must have PAPERLESS_*_TAG_ID and PAPERLESS_*_TAG variables
This commit is contained in:
@@ -40,7 +40,13 @@ services:
|
||||
- TIME_ZONE=Europe/Berlin
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- PAPERLESS_API_URL=http://paperless:8000
|
||||
- PAPERLESS_API_TOKEN=dev-token-will-be-set-after-paperless-setup
|
||||
- PAPERLESS_API_TOKEN=d477152aca264ea00620910ac09a06f0a4faaecc
|
||||
- PAPERLESS_REQUIRED_TAG=Stiftung_Destinatäre
|
||||
- PAPERLESS_LAND_TAG=Stiftung_Land_und_Pächter
|
||||
- PAPERLESS_ADMIN_TAG=Stiftung_Administration
|
||||
- PAPERLESS_DESTINATAERE_TAG_ID=1
|
||||
- PAPERLESS_LAND_TAG_ID=3
|
||||
- PAPERLESS_ADMIN_TAG_ID=2
|
||||
ports:
|
||||
- "8081:8000"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user