Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pbansal
Test-Docker
Commits
6eb5a05f
Commit
6eb5a05f
authored
Jun 04, 2020
by
B13nch3n
Browse files
Use new ALLOWED_HOSTS feature
parent
aa1c12f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Docker/.env
View file @
6eb5a05f
...
...
@@ -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
Docker/.env.template
View file @
6eb5a05f
...
...
@@ -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
Docker/docker-compose.yml
View file @
6eb5a05f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment