Compare commits

..

No commits in common. "fb54b4e120c8c584b48d7152cea5ca4efd5206ea" and "4bdfbcc089bd72b76a410793af7ca5b8a28e8958" have entirely different histories.

2 changed files with 6 additions and 4 deletions

View File

@ -11,8 +11,10 @@ SECRET_KEY = os.getenv('JWT_SECRET', 'django-insecure-fallback-secret-key')
DEBUG = os.getenv('DEBUG', 'False').lower() == 'true' DEBUG = os.getenv('DEBUG', 'False').lower() == 'true'
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = [
'http://r0g84wkoc4cwoo0gckss88ow.72.61.138.80.sslip.io',
'localhost',
]

View File

@ -24,7 +24,7 @@ COPY . .
RUN python manage.py collectstatic --noinput RUN python manage.py collectstatic --noinput
# Expose port # Expose port
EXPOSE 8000 EXPOSE 8080
# Run migrations and start Gunicorn # Run migrations and start Gunicorn
CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8000 --workers 3" CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8080 --workers 3"