# fly.toml app configuration file generated for goatcounter-mat-services on 2023-07-24T19:04:47-04:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # app = "goatcounter-mat-services" primary_region = "ewr" kill_signal = "SIGINT" kill_timeout = "5s" [experimental] auto_rollback = true [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 = "" [[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" restart_limit = 0