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:
@@ -45,6 +45,12 @@ services:
|
||||
- REDIS_URL=${REDIS_URL}
|
||||
- PAPERLESS_API_URL=${PAPERLESS_API_URL}
|
||||
- PAPERLESS_API_TOKEN=${PAPERLESS_API_TOKEN}
|
||||
- PAPERLESS_REQUIRED_TAG=${PAPERLESS_REQUIRED_TAG}
|
||||
- PAPERLESS_LAND_TAG=${PAPERLESS_LAND_TAG}
|
||||
- PAPERLESS_ADMIN_TAG=${PAPERLESS_ADMIN_TAG}
|
||||
- PAPERLESS_DESTINATAERE_TAG_ID=${PAPERLESS_DESTINATAERE_TAG_ID}
|
||||
- PAPERLESS_LAND_TAG_ID=${PAPERLESS_LAND_TAG_ID}
|
||||
- PAPERLESS_ADMIN_TAG_ID=${PAPERLESS_ADMIN_TAG_ID}
|
||||
ports:
|
||||
- "8081:8000"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user