43 lines
769 B
TOML
43 lines
769 B
TOML
|
|
# 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]
|
||
|
|
PORT = '8080'
|
||
|
|
|
||
|
|
[http_service]
|
||
|
|
internal_port = 8080
|
||
|
|
force_https = true
|
||
|
|
auto_stop_machines = 'stop'
|
||
|
|
auto_start_machines = true
|
||
|
|
min_machines_running = 0
|
||
|
|
processes = ['app']
|
||
|
|
|
||
|
|
[[services]]
|
||
|
|
protocol = 'tcp'
|
||
|
|
internal_port = 8080
|
||
|
|
|
||
|
|
[[services.ports]]
|
||
|
|
port = 80
|
||
|
|
handlers = ['http']
|
||
|
|
|
||
|
|
[[services.ports]]
|
||
|
|
port = 443
|
||
|
|
handlers = ['tls', 'http']
|
||
|
|
|
||
|
|
[[services.tcp_checks]]
|
||
|
|
interval = '10s'
|
||
|
|
timeout = '2s'
|
||
|
|
grace_period = '5s'
|
||
|
|
|
||
|
|
[[vm]]
|
||
|
|
memory = '1gb'
|
||
|
|
cpu_kind = 'shared'
|
||
|
|
cpus = 1
|