startup change

This commit is contained in:
zman 2023-11-30 17:06:48 -05:00
parent 557ecf333c
commit f840331e57
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
version: '3.9'
version: '3.8'
services:
backend:
@ -10,7 +10,7 @@ services:
environment:
- DEBUG=1
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:
build: ./client

View File

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