Spaces:
Running
Running
Download docker_example/docker-compose.yml from opendigital/agent-flow: direct link, hf CLI and curl.
- Browser
- Download file 835 Bytes
-
https://huggingface.co/spaces/opendigital/agent-flow/resolve/main/docker_example/docker-compose.yml
- Command line
-
hf download hf://spaces/opendigital/agent-flow/docker_example/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/opendigital/agent-flow/resolve/main/docker_example/docker-compose.yml
835 Bytes
| version: "3.8" | |
| services: | |
| langflow: | |
| image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/langflow | |
| pull_policy: always # set to 'always' when using 'latest' image | |
| ports: | |
| - "7860:7860" | |
| depends_on: | |
| - postgres | |
| environment: | |
| - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow | |
| # This variable defines where the logs, file storage, monitor data and secret keys are stored. | |
| volumes: | |
| - langflow-data:/app/langflow | |
| postgres: | |
| image: postgres:16 | |
| environment: | |
| POSTGRES_USER: langflow | |
| POSTGRES_PASSWORD: langflow | |
| POSTGRES_DB: langflow | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - langflow-postgres:/var/lib/postgresql/data | |
| volumes: | |
| langflow-postgres: | |
| langflow-data: | |