Skip to content

Commit

Permalink
Refactor Procfile and fly.toml files (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Sep 10, 2024
1 parent d235ffe commit 0cc70fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

4 changes: 2 additions & 2 deletions fly.prod.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ PORT = "8000"
release_command = "bash -l release.sh"

[processes]
web = "gunicorn -w $OFFSETS_DB_WEB_CONCURRENCY -t 120 -k uvicorn.workers.UvicornWorker offsets_db_api.main:app --config gunicorn_config.py --access-logfile '-' --error-logfile '-'"
app = "gunicorn -w $OFFSETS_DB_WEB_CONCURRENCY -t 120 -k uvicorn.workers.UvicornWorker offsets_db_api.main:app --config gunicorn_config.py --access-logfile '-' --error-logfile '-'"


[[services]]
processes = ["web"]
processes = ["app"]
protocol = "tcp"
internal_port = 8000
force_https = true
Expand Down
4 changes: 2 additions & 2 deletions fly.staging.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ release_command = "bash -l release.sh"


[processes]
web = "gunicorn -w $OFFSETS_DB_WEB_CONCURRENCY -t 120 -k uvicorn.workers.UvicornWorker offsets_db_api.main:app --config gunicorn_config.py --access-logfile '-' --error-logfile '-'"
app = "gunicorn -w $OFFSETS_DB_WEB_CONCURRENCY -t 120 -k uvicorn.workers.UvicornWorker offsets_db_api.main:app --config gunicorn_config.py --access-logfile '-' --error-logfile '-'"

[[services]]
processes = ["web"]
processes = ["app"]
protocol = "tcp"
internal_port = 8000
force_https = true
Expand Down

0 comments on commit 0cc70fc

Please sign in to comment.