Spaces:
Running
Running
Download fly.toml from miss-clean-spa/api: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/fly.toml
- Command line
-
hf download hf://spaces/miss-clean-spa/api/fly.toml
-
curl -L -o fly.toml https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/fly.toml
596 Bytes
| app = 'miss-clean-spa-api' | |
| primary_region = 'sin' | |
| [build] | |
| [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 = 'requests' | |
| hard_limit = 100 | |
| soft_limit = 50 | |
| [[http_service.checks]] | |
| interval = '10s' | |
| timeout = '3s' | |
| grace_period = '10s' | |
| method = 'GET' | |
| path = '/api/health' | |
| [[vm]] | |
| memory = '256mb' | |
| cpu_kind = 'shared' | |
| cpus = 1 | |
| memory_mb = 256 | |
| [mounts] | |
| source = 'pb_data' | |
| destination = '/app/pb_data' | |