services: postgres: image: pgvector/pgvector:pg16 container_name: memory-agents-postgres environment: POSTGRES_USER: memory POSTGRES_PASSWORD: memory POSTGRES_DB: memory_agents ports: - "54329:5432" volumes: - memory_agents_postgres:/var/lib/postgresql/data - ./infra/initdb:/docker-entrypoint-initdb.d:ro healthcheck: test: ["CMD-SHELL", "pg_isready -U memory -d memory_agents"] interval: 5s timeout: 5s retries: 12 redis: image: redis:7-alpine container_name: memory-agents-redis ports: - "6379:6379" volumes: - memory_agents_redis:/data healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 12 volumes: memory_agents_postgres: memory_agents_redis: