59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
qdrant:
|
|
build:
|
|
context: ./qdrant
|
|
dockerfile: Dockerfile
|
|
container_name: qdrant
|
|
ports:
|
|
- "6333:6333"
|
|
- "6334:6334"
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:6333/collections"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: backend
|
|
ports:
|
|
- "8000:8000"
|
|
restart: unless-stopped
|
|
depends_on:
|
|
qdrant:
|
|
condition: service_healthy
|
|
environment:
|
|
- QDRANT_HOST=qdrant
|
|
- QDRANT_PORT=6333
|
|
|
|
futa-clone:
|
|
build:
|
|
context: ./futa-clone
|
|
dockerfile: Dockerfile
|
|
container_name: futa-clone
|
|
ports:
|
|
- "3000:3000"
|
|
restart: unless-stopped
|
|
|
|
ollama:
|
|
build:
|
|
context: ./ollama
|
|
dockerfile: Dockerfile
|
|
container_name: ollama
|
|
ports:
|
|
- "11434:11434"
|
|
volumes:
|
|
- ollama_data:/root/.ollama
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
qdrant_data:
|
|
ollama_data:
|