Spaces:
Paused
Paused
Download docker-compose.dev.yaml from chinpeerapat/be-deepseek: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/spaces/chinpeerapat/be-deepseek/resolve/main/docker-compose.dev.yaml
- Command line
-
hf download hf://spaces/chinpeerapat/be-deepseek/docker-compose.dev.yaml
-
curl -L -o docker-compose.dev.yaml https://huggingface.co/spaces/chinpeerapat/be-deepseek/resolve/main/docker-compose.dev.yaml
1.64 kB
| services: | |
| backend: | |
| build: | |
| context: . | |
| dockerfile: ./src/backend/Dockerfile | |
| restart: always | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434} | |
| - TAVILY_API_KEY=${TAVILY_API_KEY} | |
| - BING_API_KEY=${BING_API_KEY} | |
| - SERPER_API_KEY=${SERPER_API_KEY} | |
| - OPENAI_API_KEY=${OPENAI_API_KEY} | |
| - GROQ_API_KEY=${GROQ_API_KEY} | |
| - ENABLE_LOCAL_MODELS=${ENABLE_LOCAL_MODELS:-True} | |
| - SEARCH_PROVIDER=${SEARCH_PROVIDER:-tavily} | |
| - SEARXNG_BASE_URL=${SEARXNG_BASE_URL:-http://host.docker.internal:8080} | |
| - REDIS_URL=${REDIS_URL} | |
| develop: | |
| watch: | |
| - action: sync | |
| path: ./src/backend | |
| target: /workspace/src/backend | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" | |
| frontend: | |
| depends_on: | |
| - backend | |
| build: | |
| context: . | |
| dockerfile: ./src/frontend/Dockerfile | |
| restart: always | |
| environment: | |
| - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8000} | |
| - NEXT_PUBLIC_LOCAL_MODE_ENABLED=${NEXT_PUBLIC_LOCAL_MODE_ENABLED:-true} | |
| ports: | |
| - "3000:3000" | |
| develop: | |
| watch: | |
| - action: sync | |
| path: ./src/frontend | |
| target: /app | |
| ignore: | |
| - node_modules/ | |
| searxng: | |
| container_name: searxng | |
| image: docker.io/searxng/searxng:latest | |
| restart: unless-stopped | |
| networks: | |
| - searxng | |
| ports: | |
| - "8080:8080" | |
| volumes: | |
| - ./searxng:/etc/searxng:rw | |
| environment: | |
| - SEARXNG_BASE_URL=https://${SEARXNG_BASE_URL:-localhost}/ | |
| networks: | |
| searxng: | |