forked from erp-dev/erp
fix: allow_host setting
This commit is contained in:
2
.env
2
.env
@@ -1,7 +1,7 @@
|
|||||||
SECRET_KEY=testing_$weak_secret_is_allowd
|
SECRET_KEY=testing_$weak_secret_is_allowd
|
||||||
DEBUG=True
|
DEBUG=True
|
||||||
ALLOWED_HOSTS=*,
|
ALLOWED_HOSTS=*,
|
||||||
DB_HOST=localhost
|
DB_HOST=postgres
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
DB_NAME=flower
|
DB_NAME=flower
|
||||||
DB_USER=postgres
|
DB_USER=postgres
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ services:
|
|||||||
DJANGO_SETTINGS_MODULE: flower.settings
|
DJANGO_SETTINGS_MODULE: flower.settings
|
||||||
PYTHONPATH: /app
|
PYTHONPATH: /app
|
||||||
DEBUG: "1"
|
DEBUG: "1"
|
||||||
ALLOWED_HOSTS: "localhost,127.0.0.1,0.0.0.0"
|
ALLOWED_HOSTS: "localhost,127.0.0.1,0.0.0.0,8.148.215.233"
|
||||||
DB_HOST: postgres
|
DB_HOST: postgres
|
||||||
DB_PORT: "5432"
|
DB_PORT: "5432"
|
||||||
DB_NAME: flower
|
DB_NAME: flower
|
||||||
|
|||||||
Reference in New Issue
Block a user