# Fly.io configuration for the Shadix docs site. # # First-time setup: # fly launch --no-deploy --copy-config --name shadix-docs # or `fly apps create shadix-docs` # fly secrets set SECRET_KEY_BASE=$(openssl rand -base64 48) # fly deploy # # Change `app`, `primary_region`, and PHX_HOST to match your account. app = "shadix-docs" primary_region = "ams" [build] [env] PORT = "8080" PHX_HOST = "shadix.workinghypothes.is" [http_service] internal_port = 8080 force_https = true auto_stop_machines = "stop" auto_start_machines = true min_machines_running = 0 processes = ["app"] [http_service.concurrency] type = "connections" hard_limit = 200 soft_limit = 100 # The LiveView docs site responds 200 on "/". [[http_service.checks]] interval = "15s" timeout = "2s" grace_period = "10s" method = "GET" path = "/" [[vm]] size = "shared-cpu-1x" memory = "512mb"