2025-05-01 10:55:40 -07:00
|
|
|
# fly.toml app configuration file generated for proxy-service on 2025-04-30T16:36:47-07:00
|
|
|
|
|
#
|
|
|
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
app = 'proxy-service'
|
|
|
|
|
primary_region = 'sea'
|
|
|
|
|
|
|
|
|
|
[build]
|
|
|
|
|
|
|
|
|
|
[env]
|
2025-08-25 14:23:55 -07:00
|
|
|
PORT = '8080'
|
2025-05-01 10:55:40 -07:00
|
|
|
|
|
|
|
|
[http_service]
|
2025-08-25 14:23:55 -07:00
|
|
|
internal_port = 8080
|
|
|
|
|
force_https = true
|
|
|
|
|
auto_stop_machines = 'off'
|
|
|
|
|
auto_start_machines = true
|
|
|
|
|
min_machines_running = 0
|
|
|
|
|
processes = ['app']
|
2025-05-01 10:55:40 -07:00
|
|
|
|
|
|
|
|
[[services]]
|
2025-08-25 14:23:55 -07:00
|
|
|
protocol = 'tcp'
|
|
|
|
|
internal_port = 8080
|
2025-05-01 10:55:40 -07:00
|
|
|
|
2025-08-25 14:23:55 -07:00
|
|
|
[[services.ports]]
|
|
|
|
|
port = 80
|
|
|
|
|
handlers = ['http']
|
2025-05-01 10:55:40 -07:00
|
|
|
|
2025-08-25 14:23:55 -07:00
|
|
|
[[services.ports]]
|
|
|
|
|
port = 443
|
|
|
|
|
handlers = ['tls', 'http']
|
2025-05-01 10:55:40 -07:00
|
|
|
|
2025-08-25 14:23:55 -07:00
|
|
|
[[services.tcp_checks]]
|
|
|
|
|
interval = '10s'
|
|
|
|
|
timeout = '2s'
|
|
|
|
|
grace_period = '5s'
|
2025-05-01 10:55:40 -07:00
|
|
|
|
|
|
|
|
[[vm]]
|
2025-08-25 14:23:55 -07:00
|
|
|
memory = '1gb'
|
|
|
|
|
cpu_kind = 'shared'
|
|
|
|
|
cpus = 1
|