idhub: add CSRF_TRUSTED_ORIGINS env var

This commit is contained in:
pedro 2023-11-03 10:11:30 +01:00
parent 93d1f2d01c
commit 4c7e6bd3c9
2 changed files with 3 additions and 0 deletions

View file

@ -10,3 +10,5 @@
# specially useful if you want to deploy in a specific domain
#MUSICIAN_API_BASE_URL='https://orchestra.example.org'
#MUSICIAN_ALLOWED_HOSTS='musician.example.org'
# adapt to your domain in a production/reverse proxy env
IDHUB_CSRF_TRUSTED_ORIGINS='https://idhub.example.org'

View file

@ -14,5 +14,6 @@ services:
- DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD}
- DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL}
- DEPLOYMENT=${IDHUB_DEPLOYMENT}
- CSRF_TRUSTED_ORIGINS=${IDHUB_CSRF_TRUSTED_ORIGINS}
ports:
- 7000:7000