Add Paperless-ngx to production deployment
- 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
This commit is contained in:
@@ -14,23 +14,24 @@ DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
# SECRET_KEY=your-production-secret-key-here
|
||||
# ALLOWED_HOSTS=your-domain.com,www.your-domain.com,localhost,127.0.0.1
|
||||
|
||||
# HTTPS Security Settings (enable after SSL certificate is installed)
|
||||
# SECURE_SSL_REDIRECT=True
|
||||
# SESSION_COOKIE_SECURE=True
|
||||
# CSRF_COOKIE_SECURE=True
|
||||
# SECURE_HSTS_SECONDS=31536000
|
||||
# SECURE_HSTS_INCLUDE_SUBDOMAINS=True
|
||||
# SECURE_HSTS_PRELOAD=True
|
||||
|
||||
LANGUAGE_CODE=de
|
||||
TIME_ZONE=Europe/Berlin
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# Paperless-ngx Integration
|
||||
PAPERLESS_API_URL=http://192.168.178.167:30070
|
||||
PAPERLESS_API_TOKEN=e7107a43b6bef6707f11d7f7462708b87be3123c
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user