Download docker-compose.yml from devg24/FinAgent: direct link, hf CLI and curl.
- Browser
- Download file 611 Bytes
-
https://huggingface.co/spaces/devg24/FinAgent/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/devg24/FinAgent/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/devg24/FinAgent/resolve/main/docker-compose.yml
611 Bytes
| services: | |
| api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.api | |
| ports: | |
| - "8000:8000" | |
| env_file: | |
| - .env | |
| volumes: | |
| - ./:/app # Hot-reloading mapping | |
| - ./chroma_db:/app/chroma_db # Persist the vector database locally | |
| command: uvicorn backend.api:app --host 0.0.0.0 --port 8000 --reload | |
| ui: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.ui | |
| ports: | |
| - "8501:8501" | |
| environment: | |
| - API_URL=http://api:8000/chat/stream | |
| volumes: | |
| - ./:/app # Hot-reloading mapping | |
| - ./chroma_db:/app/chroma_db | |
| depends_on: | |
| - api | |