Spaces:
Sleeping
Sleeping
File size: 727 Bytes
45a648e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Fly.io config — always-on, no cold start (unlike Render free tier).
# Deploy:
# fly launch --no-deploy # creates the app (accept this fly.toml)
# fly secrets set ANTHROPIC_API_KEY=sk-ant-... ACCESS_CODE=yourcode
# fly deploy
app = "saniplus-chatbot"
primary_region = "fra" # Frankfurt — close to Munich users
[build]
dockerfile = "Dockerfile"
[http_service]
internal_port = 8100
force_https = true
auto_stop_machines = "stop" # set to "off" for guaranteed always-on
auto_start_machines = true
min_machines_running = 0 # bump to 1 to eliminate cold starts
[[http_service.checks]]
method = "GET"
path = "/api/health"
interval = "30s"
timeout = "5s"
[env]
PORT = "8100"
|