Spaces:
Running
Running
| # Fly.io — API Emo Online (frontend sur GitHub Pages) | |
| # Crée l'app : fly apps create emo-online-xeroxytb | |
| # Secrets : fly secrets set MONGO_URL=... GOOGLE_CLIENT_ID=... etc. | |
| app = "emo-online-xeroxytb" | |
| primary_region = "cdg" | |
| [build] | |
| dockerfile = "Dockerfile.fly" | |
| [env] | |
| PORT = "8010" | |
| DB_NAME = "emo" | |
| EMO_DEV_MODE = "false" | |
| EMO_SERVE_FRONTEND = "false" | |
| EMO_FRONTEND_URL = "https://xeroxytb.com" | |
| EMO_PUBLIC_BACKEND_URL = "https://emo-online-xeroxytb.fly.dev" | |
| CORS_ORIGINS = "https://xeroxytb.com,https://www.xeroxytb.com,https://xeroxytb.github.io" | |
| EMO_USE_SALES_LLM_KEYS = "true" | |
| [http_service] | |
| internal_port = 8010 | |
| force_https = true | |
| auto_stop_machines = "off" | |
| auto_start_machines = true | |
| min_machines_running = 1 | |
| processes = ["app"] | |
| [[vm]] | |
| memory = "2gb" | |
| cpu_kind = "shared" | |
| cpus = 1 | |