vdkch/docker-compose.yml

59 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2025-02-15 13:52:05 +03:00
version: "3.8"
2025-02-10 15:53:52 +03:00
services:
qdrant:
2025-02-16 18:07:38 +03:00
build:
context: ./qdrant
dockerfile: Dockerfile
2025-02-10 15:53:52 +03:00
container_name: qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_data:/qdrant/storage
restart: unless-stopped
2025-02-16 18:07:38 +03:00
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/collections"]
interval: 10s
timeout: 5s
retries: 5
2025-02-12 12:19:45 +03:00
2025-02-15 13:52:05 +03:00
backend:
build:
context: .
dockerfile: Dockerfile
2025-02-12 12:19:45 +03:00
container_name: backend
ports:
- "8000:8000"
2025-02-15 13:52:05 +03:00
restart: unless-stopped
2025-02-16 18:07:38 +03:00
depends_on:
qdrant:
condition: service_healthy
environment:
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
2025-02-12 12:19:45 +03:00
2025-02-15 13:52:05 +03:00
futa-clone:
2025-02-12 12:19:45 +03:00
build:
2025-02-15 13:52:05 +03:00
context: ./futa-clone
dockerfile: Dockerfile
container_name: futa-clone
2025-02-12 12:19:45 +03:00
ports:
- "3000:3000"
2025-02-15 13:52:05 +03:00
restart: unless-stopped
2025-02-10 15:53:52 +03:00
2025-02-16 18:07:38 +03:00
ollama:
2025-02-17 14:05:25 +03:00
build:
context: ./ollama
dockerfile: Dockerfile
2025-02-16 18:07:38 +03:00
container_name: ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
restart: unless-stopped
2025-02-10 15:53:52 +03:00
volumes:
2025-02-15 13:52:05 +03:00
qdrant_data:
2025-02-16 18:07:38 +03:00
ollama_data: