Pass CSRF_TRUSTED_ORIGINS via environment variable

This commit is contained in:
2025-10-20 23:12:37 +08:00
parent f48aa5b794
commit d52b3d1476
3 changed files with 3 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ services:
- postgres_password
environment:
SECRET_KEY_FILE: /run/secrets/web_secret_key
CSRF_TRUSTED_ORIGINS:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_DATABASE: url_shortener