version: '3.8'
services:
vecmindb:
build: .
image: vecmindb:latest
container_name: vecmindb
ports:
- "8080:8080"
volumes:
- vecmindb_data:/data
environment:
- VECMINDB_HOST=0.0.0.0
- VECMINDB_PORT=8080
- RUST_LOG=info
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"]
interval: 30s
timeout: 10s
retries: 3
volumes:
vecmindb_data: