Spaces:
Sleeping
Sleeping
Download docker-compose.yml from Kay86X/doc-extract-backend: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/Kay86X/doc-extract-backend/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Kay86X/doc-extract-backend/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Kay86X/doc-extract-backend/resolve/main/docker-compose.yml
412 Bytes
| # central docker compose file | |
| services: | |
| backend: | |
| build: | |
| context: . | |
| ports: | |
| - "8000:8000" | |
| volumes: | |
| - ./app:/app | |
| command: > | |
| sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 --reload" | |
| environment: | |
| - HF_TOKEN=${HF_TOKEN} # the hugging face access token from the environment file | |
| - FRONTEND_URL=${FRONTEND_URL} # the frontend URL from the environment file |