name: contiai services: postgres: image: postgres:16-alpine environment: POSTGRES_USER: contiai POSTGRES_PASSWORD: contiai POSTGRES_DB: contiai ports: ["5432:5432"] volumes: ["pgdata:/var/lib/postgresql/data"] healthcheck: test: ["CMD-SHELL", "pg_isready -U contiai"] interval: 5s timeout: 3s retries: 12 redis: image: redis:7-alpine command: redis-server --save "" --appendonly no ports: ["6379:6379"] healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 12 volumes: pgdata: