diff options
Diffstat (limited to 'fly.toml')
| -rw-r--r-- | fly.toml | 44 |
1 files changed, 13 insertions, 31 deletions
@@ -1,41 +1,23 @@ -# fly.toml file generated for peach on 2022-06-04T18:39:54-04:00 +# https://fly.io/docs/reference/configuration app = "peach" kill_signal = "SIGINT" kill_timeout = 5 -processes = [] +primary_region = "iad" + [env] PEACH_PHOTON_URL = "https://photon.komoot.io" -[experimental] - allowed_public_ports = [] - auto_rollback = true - -[[services]] - http_checks = [] +[http_service] internal_port = 8151 - processes = ["app"] - protocol = "tcp" - script_checks = [] - - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" - - [[services.ports]] - force_https = true - handlers = ["http"] - port = 80 - - [[services.ports]] - handlers = ["tls", "http"] - port = 443 - - [[services.tcp_checks]] - grace_period = "1s" - interval = "15s" - restart_limit = 0 - timeout = "2s" + force_https = true + auto_stop_machines = "stop" + auto_start_machines = true + min_machines_running = 0 + +[[vm]] + cpu_kind = "shared" + cpus = 1 + memory_mb = 256 |
