$$#
This commit is contained in:
parent
7d22911646
commit
6ea70ee669
13
Nixpacks.toml
Normal file
13
Nixpacks.toml
Normal file
@ -0,0 +1,13 @@
|
||||
[phases.setup]
|
||||
cmds = [
|
||||
"pip install -r requirements.txt",
|
||||
]
|
||||
|
||||
[phases.build]
|
||||
cmds = [
|
||||
"python manage.py collectstatic --noinput",
|
||||
"python manage.py migrate",
|
||||
]
|
||||
|
||||
[start]
|
||||
cmd = "gunicorn booking_system.wsgi:application --bind 0.0.0.0:$PORT"
|
||||
@ -11,7 +11,12 @@ SECRET_KEY = os.getenv('JWT_SECRET', 'django-insecure-fallback-secret-key')
|
||||
|
||||
DEBUG = os.getenv('DEBUG', 'False').lower() == 'true'
|
||||
|
||||
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', 'localhost,127.0.0.1').split(',')
|
||||
ALLOWED_HOSTS = [
|
||||
'bocwoswwgks0gc8c84sgwkso.72.61.138.80.sslip.io',
|
||||
'72.61.138.80',
|
||||
'localhost',
|
||||
'127.0.0.1',
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user