Spaces:
Sleeping
Sleeping
Download fly.toml from Sebacu/saniplus-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/fly.toml
- Command line
-
hf download hf://spaces/Sebacu/saniplus-chatbot/fly.toml
-
curl -L -o fly.toml https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/fly.toml
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" | |