feat: Passage par une variable d'environnement pour les CORS et CSRF

This commit is contained in:
N3WT DE COMPET
2025-02-16 11:10:06 +01:00
parent 32a77c780a
commit f9e870e11f
2 changed files with 10 additions and 9 deletions

View File

@ -29,6 +29,8 @@ services:
environment:
- TZ=Europe/Paris
- TEST_MODE=True
- CORS_ALLOWED_ORIGINS=http://localhost:3000
- CSRF_TRUSTED_ORIGINS=http://localhost:3000,http://localhost:8080
links:
- "database:database"
- "redis:redis"