microservices/auth-service/fly.toml

43 lines
787 B
TOML
Raw Normal View History

# fly.toml app configuration file generated for byte-camp-auth-service on 2025-04-21T14:38:25-07:00
2025-04-21 10:17:21 -07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'byte-camp-auth-service'
primary_region = 'sea'
[build]
2025-04-21 10:17:21 -07:00
[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']
2025-04-21 10:17:21 -07:00
[[services]]
protocol = 'tcp'
2025-04-21 10:17:21 -07:00
internal_port = 8080
[[services.ports]]
port = 80
handlers = ['http']
2025-04-21 10:17:21 -07:00
[[services.ports]]
port = 443
handlers = ['tls', 'http']
2025-04-21 10:17:21 -07:00
[[services.tcp_checks]]
interval = '10s'
timeout = '2s'
grace_period = '5s'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1