do not auto-generate encryption key or JWT secret

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-23 16:11:50 +01:00
parent 3cb0aa0981
commit 7c4c25ac8f
2 changed files with 7 additions and 0 deletions

3
.env
View File

@@ -1,3 +1,6 @@
POSTGRES_USER=root
POSTGRES_PASSWORD=password
POSTGRES_DB=n8n
N8N_ENCRYPTION_KEY=super-secret-key
N8N_USER_MANAGEMENT_JWT_SECRET=even-more-secret

View File

@@ -39,6 +39,10 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_USER=${POSTGRES_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
- N8N_DIAGNOSTICS_ENABLED=false
- N8N_PERSONALIZATION_ENABLED=false
- N8N_ENCRYPTION_KEY
- N8N_USER_MANAGEMENT_JWT_SECRET
ports:
- 5678:5678
links: