Skip to content

Commit

Permalink
ops: change endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomersch committed Oct 23, 2023
1 parent 2f194e3 commit 72cefe0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kill_timeout = 5

[env]
GUNICORN_WORKERS = "2"
OSMCAL_PG_HOST = "osmcal-db2.flycast"
OSMCAL_PG_HOST = "top1.nearest.of.osmcal-db2.internal"
OSMCAL_PROD = "true"
PORT = "8080"
WRITABLE_REGION = "ams"
Expand All @@ -17,6 +17,9 @@ kill_timeout = 5
protocol = "tcp"
internal_port = 8080
processes = ["app"]
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1

[[services.ports]]
port = 80
Expand All @@ -26,10 +29,11 @@ kill_timeout = 5
[[services.ports]]
port = 443
handlers = ["tls", "http"]

[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
hard_limit = 125
soft_limit = 100

[[services.http_checks]]
interval = "10s"
Expand Down

0 comments on commit 72cefe0

Please sign in to comment.