Skip to content

Commit

Permalink
Expose apps internally on port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
janbaykara committed Nov 24, 2023
1 parent d778aad commit a9c5840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ release: migrate setup-cms

.PHONY: runserver
runserver: release
poetry run gunicorn -b 0.0.0.0:80 app.wsgi
poetry run gunicorn -b 0.0.0.0:8080 app.wsgi

.PHONY: run_wsgi
run_wsgi: release
poetry run gunicorn -b 0.0.0.0:80 app.wsgi
poetry run gunicorn -b 0.0.0.0:8080 app.wsgi

.PHONY: run_production
run_production: release
DJANGO_SETTINGS_MODULE=app.settings.production poetry run gunicorn -b 0.0.0.0:80 app.wsgi
DJANGO_SETTINGS_MODULE=app.settings.production poetry run gunicorn -b 0.0.0.0:8080 app.wsgi

.PHONY: testproduction
testproduction: release
Expand Down
2 changes: 1 addition & 1 deletion fly.worker.production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kill_timeout = 5

[[services]]
[services.concurrency]
hard_limit = 1
hard_limit = 2
soft_limit = 1

[experimental]
Expand Down

0 comments on commit a9c5840

Please sign in to comment.