fly-apps/goatcounter/fly.toml

48 lines
994 B
TOML

# fly.toml file generated for goatcounter-mat-services on 2022-09-03T21:18:21-04:00
app = "goatcounter-mat-services"
kill_signal = "SIGINT"
kill_timeout = 5
[env]
GOATCOUNTER_DB = "sqlite+/data/goatcounter.sqlite3"
GOATCOUNTER_DEBUG = ""
GOATCOUNTER_DOMAIN = "stats.mat.services"
GOATCOUNTER_EMAIL = "mat@mat.services"
GOATCOUNTER_LISTEN = "0.0.0.0:8080"
GOATCOUNTER_SMTP = ""
[experimental]
allowed_public_ports = []
auto_rollback = true
[mounts]
destination = "/data"
source = "goatcounter_data"
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"