Spaces:
Sleeping
Sleeping
| # fly.toml app configuration file generated for backend-damp-fog-5601 on 2026-03-26T21:56:01-03:00 | |
| # | |
| # See https://fly.io/docs/reference/configuration/ for information about how to use this file. | |
| # | |
| app = 'backend-damp-fog-5601' | |
| primary_region = 'gru' | |
| [build] | |
| dockerfile = 'Dockerfile' | |
| [env] | |
| PORT = '7860' | |
| PRELOAD_AGENT = 'true' | |
| EMBEDDING_PROVIDER = 'transformers' | |
| HF_MODEL_REPO = 'Ana2012/bertimbau-buscador' | |
| HF_HOME = '/home/user/.cache/huggingface' | |
| HF_HUB_CACHE = '/home/user/.cache/huggingface/hub' | |
| TRANSFORMERS_CACHE = '/home/user/.cache/huggingface/transformers' | |
| [processes] | |
| app = "sh -c 'python -m uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}'" | |
| [http_service] | |
| internal_port = 7860 | |
| force_https = true | |
| auto_stop_machines = 'stop' | |
| auto_start_machines = true | |
| min_machines_running = 1 | |
| processes = ['app'] | |
| [[mounts]] | |
| source = "data" | |
| destination = "/data" | |
| [[vm]] | |
| memory = '2gb' | |
| cpus = 1 | |
| memory_mb = 2048 | |