Commit 6eb5a05f authored by B13nch3n's avatar B13nch3n
Browse files

Use new ALLOWED_HOSTS feature

parent aa1c12f4
......@@ -45,3 +45,5 @@ CATHSMAPI_CODEBASE=fromlocal
# determines the branch/ tag to be used from
# the Git repository
CATHSMAPI_GITTAG=v0.0.1
ALLOWED_HOSTS=localhost,127.0.0.1
\ No newline at end of file
......@@ -47,4 +47,4 @@ CATHSMAPI_CODEBASE=fromlocal
# the Git repository
CATHSMAPI_GITTAG=v0.0.1
ALLOWED_HOSTS = "localhost,127.0.0.1"
\ No newline at end of file
ALLOWED_HOSTS=localhost,127.0.0.1
\ No newline at end of file
......@@ -54,6 +54,7 @@ services:
- DJANGO_DB_ADMIN_ML=$DJANGO_DB_ADMIN_ML
- DJANGO_DB_USR=$DJANGO_DB_USR
- DJANGO_DB_CLR_PW=$DJANGO_DB_CLR_PW
- ALLOWED_HOSTS=$ALLOWED_HOSTS
volumes:
- www-static:/static
command: /cathapi/entrypoint.sh gunicorn cathapi.wsgi -b 0.0.0.0:8080
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment