Files
ruflo/docs/ruvector-postgres/docker-compose.yml
T
rUvandClaude Opus 4.5 e464c11cdc Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: main
- Timestamp: 2026-01-17T20:25:59Z
- Changes: 10 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 20:25:59 +00:00

40 lines
959 B
YAML

version: '3.8'
services:
postgres:
image: pgvector/pgvector:pg16
container_name: ruvector-postgres
environment:
POSTGRES_USER: claude
POSTGRES_PASSWORD: claude-flow-test
POSTGRES_DB: claude_flow
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/01-init.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U claude -d claude_flow"]
interval: 5s
timeout: 5s
retries: 5
# Optional: pgAdmin for visual database management
pgadmin:
image: dpage/pgadmin4:latest
container_name: ruvector-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@claude-flow.local
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
ports:
- "5050:80"
depends_on:
postgres:
condition: service_healthy
profiles:
- gui
volumes:
postgres_data: