all repos — homestead @ 8fdb98138f02e89522dc71bcab899ad0856ccdc5

Code for my website

fly.toml (view raw)

# 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"

[env]
TZ = "Europe/Berlin"
GOMEMLIMIT = "200MiB"
WEBSITE_CALENDAR_URL = "https://cal.alin.ovh/alin.ics"
# WEBSITE_GOATCOUNTER_SECRET = 
WEBSITE_ROOT = "/data/website"
WEBSITE_REDIS_ADDRESS = "redis.alin.ovh:6379"
# WEBSITE_REDIS_PASSWORD = 

[[services]]
internal_port = 8080

[services.concurrency]
type = "requests"
soft_limit = 15000

[[services.ports]]
port = 80

[[services.ports]]
handlers = ["tls"]
port = 443

[[services.http_checks]]
grace_period = "10s"
protocol = "http"
interval = "10s"
method = "GET"
timeout = "1s"
path = "/health"

[[vm]]
size = "shared-cpu-1x"

[[restart]]
policy = "always"

[mounts]
source = "data"
destination = "/data"
initial_size = "1gb"