# fly.toml app configuration file generated for genstack on 2025-07-24T21:25:45+05:30
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'genstack'
primary_region = 'sin'
[build]
dockerfile = 'Dockerfile'
[env]
GOOGLE_APPLICATION_CREDENTIALS = '/tmp/firebase-adminsdk.json'
[[services]]
protocol = 'tcp'
internal_port = 8000
[[services.ports]]
port = 80
handlers = ['http']
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = '15s'
timeout = '2s'
grace_period = '30s'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
[mounts]
source = "firebase_credentials"
destination = "/tmp"