Download render.yaml from sdu-shift/app: direct link, hf CLI and curl.
- Browser
- Download file 715 Bytes
-
https://huggingface.co/spaces/sdu-shift/app/resolve/main/render.yaml
- Command line
-
hf download hf://spaces/sdu-shift/app/render.yaml
-
curl -L -o render.yaml https://huggingface.co/spaces/sdu-shift/app/resolve/main/render.yaml
715 Bytes
| services: | |
| - type: web | |
| name: sdu-shift | |
| runtime: python | |
| buildCommand: pip install -r requirements.txt | |
| # SimpleCache(プロセスローカル)のキャッシュ無効化を全ワーカーに伝播させるため、 | |
| # workers=1 + gthread のマルチスレッド構成にする(#37) | |
| startCommand: gunicorn "web_app:create_app()" --bind 0.0.0.0:$PORT --workers 1 --worker-class gthread --threads 4 --timeout 120 --max-requests 500 --max-requests-jitter 50 --access-logfile - --error-logfile - | |
| envVars: | |
| - key: SECRET_KEY | |
| generateValue: true | |
| - key: DATABASE_URL | |
| sync: false | |
| - key: DISABLE_STATEMENT_TIMEOUT | |
| value: "true" | |
| autoDeploy: true | |