1
0
forked from erp-dev/erp

fix: allow_host setting

This commit is contained in:
2025-11-25 16:13:03 +08:00
parent d90917e764
commit 90786ab99b
2 changed files with 2 additions and 2 deletions

2
.env
View File

@@ -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

View File

@@ -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