- Add Paperless-ngx service to Docker Compose configuration - Configure nginx routing for /paperless/ path with large file support - Add production environment variables for Paperless - Create automated setup script for initial Paperless configuration - Add comprehensive production setup documentation - Configure Paperless with HTTPS and proper database setup - Update Django app to use production Paperless instance
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Database Configuration
|
|
POSTGRES_DB=stiftung
|
|
POSTGRES_USER=stiftung
|
|
POSTGRES_PASSWORD=stiftungpass
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
|
|
# Django Configuration
|
|
DJANGO_SECRET_KEY=your-secret-key-here-change-in-production
|
|
DJANGO_DEBUG=1
|
|
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
|
|
|
|
# Production environment variables (alternative names for Docker Compose)
|
|
# SECRET_KEY=your-production-secret-key-here
|
|
# ALLOWED_HOSTS=your-domain.com,www.your-domain.com,localhost,127.0.0.1
|
|
|
|
LANGUAGE_CODE=de
|
|
TIME_ZONE=Europe/Berlin
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
# Paperless-ngx Production Configuration
|
|
PAPERLESS_DB=paperless_prod
|
|
PAPERLESS_USER=paperless_user
|
|
PAPERLESS_PASSWORD=secure-paperless-password
|
|
PAPERLESS_ADMIN_USER=admin
|
|
PAPERLESS_ADMIN_PASSWORD=secure-admin-password
|
|
PAPERLESS_ADMIN_MAIL=admin@vhtv-stiftung.de
|
|
PAPERLESS_SECRET_KEY=generate-paperless-secret-key
|
|
|
|
# Paperless-ngx Integration (for Django app)
|
|
PAPERLESS_API_URL=https://vhtv-stiftung.de/paperless
|
|
PAPERLESS_API_TOKEN=your-api-token-here
|
|
# Tag-Namen (mit Unterstrichen, wie in Paperless NGX umbenannt)
|
|
PAPERLESS_REQUIRED_TAG=Stiftung_Destinatäre
|
|
PAPERLESS_LAND_TAG=Stiftung_Land_und_Pächter
|
|
PAPERLESS_ADMIN_TAG=Stiftung_Administration
|
|
PAPERLESS_DESTINATAERE_TAG_ID=210
|
|
PAPERLESS_LAND_TAG_ID=204
|
|
PAPERLESS_ADMIN_TAG_ID=216
|
|
# Integration von Grampsweb zur Ahnenforschung und Prüfung
|
|
GRAMPS_URL=http://192.168.178.167:30179
|
|
GRAMPS_USERNAME=Stiftung
|
|
GRAMPS_PASSWORD=home4Gty94rj*de
|
|
|
|
|