production ready
parent
2c286dacf4
commit
2e1fd94c8f
|
|
@ -31,7 +31,7 @@ SECRET_KEY = os.getenv('SECRET_KEY')
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ['localhost', '127.0.0.1']
|
||||
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'beyond-heroes.com', 'www.beyond-heroes.com']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
- .:/app
|
||||
ports:
|
||||
- "3030:3030"
|
||||
network_mode: "host"
|
||||
command: >
|
||||
sh -c "python manage.py makemigrations blog --noinput &&
|
||||
python manage.py migrate --noinput &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue