saniplus-chatbot / fly.toml
Sebacu's picture
Claude Opus 4.8
SaniPlus chatbot (LLM-backed) showcase
45a648e
Raw History Blame Contribute Delete
727 Bytes
# 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"