startup change
This commit is contained in:
parent
557ecf333c
commit
f840331e57
@ -1,4 +1,4 @@
|
|||||||
version: '3.9'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
@ -10,7 +10,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DEBUG=1
|
- DEBUG=1
|
||||||
command: >
|
command: >
|
||||||
sh -c "python manage.py makemigrations && python manage.py migrate && python populate_data.py && python manage.py runserver 0.0.0.0:8000"
|
sh -c "python manage.py migrate && python populate_data.py && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build: ./client
|
build: ./client
|
||||||
|
@ -25,7 +25,7 @@ SECRET_KEY = "django-insecure-^^r9o7z%c(x51odhohd_a5k7v%1gh@2-br!g_x450+27i_2h-n
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['0.0.0.0' ,'localhost', '127.0.0.1']
|
ALLOWED_HOSTS = ["0.0.0.0" ,"localhost", "127.0.0.1"]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user