Skip to content

Commit

Permalink
Merge pull request #28 from amadeus4dev/azure-update
Browse files Browse the repository at this point in the history
update host for azure
  • Loading branch information
minjikarin authored May 5, 2023
2 parents 2fc3bb1 + 5ca91e5 commit 028b9c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ RUN pip install -r requirements.txt

ENTRYPOINT ["python", "amadeus_demo/manage.py"]

CMD ["runserver", "0.0.0.0:8080"]
CMD ["runserver", "0.0.0.0:8000"]

EXPOSE 8080
EXPOSE 8000
5 changes: 2 additions & 3 deletions amadeus_demo/amadeus_demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG_VALUE', True)

ALLOWED_HOSTS = ['*']

HOST_URL = os.environ.get('HOST_URL', 'localhost')
ALLOWED_HOSTS = ['localhost', '0.0.0.0', '127.0.0.1', HOST_URL]

# Application definition

Expand Down

0 comments on commit 028b9c1

Please sign in to comment.