SECURITY: Remove .env from Git tracking and add to .gitignore
- Remove sensitive .env file from Git repository - Add comprehensive .env file patterns to .gitignore - Prevent accidental commit of environment variables and secrets
This commit is contained in:
33
.env
33
.env
@@ -1,33 +0,0 @@
|
|||||||
# 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
|
|
||||||
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
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,6 +3,10 @@ ACCOUNTS.txt
|
|||||||
*.key
|
*.key
|
||||||
*.pem
|
*.pem
|
||||||
*.p12
|
*.p12
|
||||||
|
.env
|
||||||
|
app/.env
|
||||||
|
*.env.local
|
||||||
|
*.env.production
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|||||||
Reference in New Issue
Block a user