fly-apps/goatcounter/fly.toml

46 lines
876 B
TOML

app = "burd-infra-goatcounter-services"
primary_region = "sea"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[build]
[env]
GOATCOUNTER_DB = "sqlite+/data/goatcounter.sqlite3"
GOATCOUNTER_DEBUG = ""
GOATCOUNTER_DOMAIN = "stats.burd.me"
GOATCOUNTER_EMAIL = "greg@burd.me"
GOATCOUNTER_LISTEN = "0.0.0.0:8080"
GOATCOUNTER_SMTP = ""
[[mounts]]
source = "goatcounter_data"
destination = "/data"
processes = ["app"]
[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[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 = "1s"