# fly.toml app configuration file generated for alanpearce-eu on 2024-06-19T15:17:02+02:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # app = "alanpearce-eu" primary_region = "ams" [build] image = "registry.fly.io/alanpearce-eu" [env] PORT = "8080" TLS_PORT = "8443" LISTEN_ADDRESS = "::" TLS = "true" ROOT = "/data" PRODUCTION = "true" LOCAL_PATH = "/data/website" REMOTE_URL = "https://git.alanpearce.eu/website.git" [[services]] internal_port = 8080 [services.concurrency] type = "requests" soft_limit = 15000 [[services.ports]] port = 80 [[services]] internal_port = 8443 [[services.ports]] port = 443 [services.concurrency] type = "requests" soft_limit = 15000 [[services.http_checks]] grace_period = "10s" protocol = "https" tls_server_name = "alanpearce-eu.fly.dev" interval = "10s" method = "GET" timeout = "1s" path = "/health" [[vm]] size = "shared-cpu-1x" [[restart]] policy = "always" [mounts] source = "data" destination = "/data" initial_size = "1gb"