docker-compose.yml•1.61 kB
services:
qdrant:
image: qdrant/qdrant:latest
restart: unless-stopped
container_name: qdrant
volumes:
- storage:/qdrant/storage
- config:/qdrant/config
command:
['sh', '-c', 'chown -R 1000:1000 /qdrant/storage && /qdrant/qdrant']
environment:
- QDRANT_ALLOW_RECOVERY=true
ports:
- '6333:6333' # REST API
- '6334:6334' # GRPC API
expose:
- 6333
- 6334
- 6335
ollama:
image: ollama/ollama
container_name: ollama
ports:
- '11434:11434'
expose:
- 11434
restart: unless-stopped
volumes:
- ollama:/root/.ollama
- ./entrypoint.sh:/entrypoint.sh:z
command: ['/entrypoint.sh']
environment:
- MODEL=nomic-embed-text
entrypoint: ['/entrypoint.sh']
healthcheck:
test:
[
'CMD-SHELL',
'bash',
'-c',
"{ printf >&3 'GET / HTTP/1.0\\r\\n\\r\\n'; cat <&3; } 3<>/dev/tcp/localhost/11434 | grep 'Ollama is' || exit 1"
]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
playwright:
image: mcr.microsoft.com/playwright:v1.53.0-noble
container_name: playwright
ipc: host
init: true
ports:
- '3000:3000' # Playwright server (host:container)
command: ["npx", "-y", "playwright@1.53.0", "run-server", "--port", "3000", "--host", "0.0.0.0"]
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000 || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
volumes:
storage:
config:
ollama: