@@ -31,7 +31,7 @@ The following environment variables are also honored for configuring your WireCl
3131 mode. Debug mode should be enabled for running WireCloud in standalone mode)
3232- ` -e LOGLEVEL=... ` (defaults to "INFO")
3333- ` -e ALLOWED_HOSTS=... ` (defaults to "* ", whitespace whitespace-separated list
34- of allowed hosts. See [ django documentation] [ ALLOWED_HOSTS ] for more
34+ of allowed hosts. See [ Django documentation] [ ALLOWED_HOSTS ] for more
3535 details)
3636- ` -e DEFAULT_LANGUAGE=... ` (defaults to "browser", see
3737 [ documentation] [ DEFAULT_LANGUAGE ] for more details)
@@ -68,12 +68,22 @@ The following environment variables are also honored for configuring your WireCl
6868- ` -e SOCIAL_AUTH_KEYCLOAK_KEY=... ` (defaults to nothing)
6969- ` -e SOCIAL_AUTH_KEYCLOAK_SECRET=... ` (defaults to nothing)
7070
71+ In addition to those environment variables, this docker image also allows you to
72+ configure the following Django settings using environment variables with the
73+ same name: ` CSRF_COOKIE_AGE ` , ` CSRF_COOKIE_HTTPONLY ` , ` CSRF_COOKIE_NAME ` ,
74+ ` CSRF_COOKIE_SECURE ` , ` EMAIL_HOST ` , ` EMAIL_HOST_PASSWORD ` , ` EMAIL_PORT ` ,
75+ ` EMAIL_HOST_USER ` , ` EMAIL_USE_SSL ` , ` EMAIL_USE_TLS ` , ` SECRET_KEY ` ,
76+ ` SESSION_COOKIE_AGE ` , ` SESSION_COOKIE_NAME ` , ` SESSION_COOKIE_HTTPONLY ` and
77+ ` SESSION_COOKIE_SECURE ` . See [ Django documentation] ( DJANGO_SETTINGS ) for more
78+ details.
79+
7180When running WireCloud with TLS behind a reverse proxy such as Apache/NGINX
7281which is responsible for doing TLS termination, be sure to set
7382the ` X-Forwarded-Proto ` , ` X-Forwarded-Host ` and ` X-Forwarded-Port ` headers
7483appropriately.
7584
7685
86+ [ DJANGO_SETTINGS ] : https://docs.djangoproject.com/en/2.1/ref/settings/
7787[ ALLOWED_HOSTS ] : https://docs.djangoproject.com/en/2.1/ref/settings/#allowed-hosts
7888[ DEFAULT_LANGUAGE ] : https://wirecloud.readthedocs.io/en/stable/installation_guide/#default_language
7989[ LANGUAGE_CODE ] : https://docs.djangoproject.com/en/2.1/ref/settings/#language-code
0 commit comments