services: postgres: image: postgres:16-alpine container_name: govoplan-production-like-postgres environment: POSTGRES_DB: ${GOVOPLAN_PRODUCTION_LIKE_POSTGRES_DB:-govoplan} POSTGRES_USER: ${GOVOPLAN_PRODUCTION_LIKE_POSTGRES_USER:-govoplan} POSTGRES_PASSWORD: ${GOVOPLAN_PRODUCTION_LIKE_POSTGRES_PASSWORD:-govoplan-dev} ports: - "127.0.0.1:${GOVOPLAN_PRODUCTION_LIKE_POSTGRES_PORT:-55433}:5432" healthcheck: test: - CMD-SHELL - pg_isready -U "$${POSTGRES_USER}" -d "$${POSTGRES_DB}" interval: 5s timeout: 3s retries: 20 volumes: - postgres-data:/var/lib/postgresql/data redis: image: redis:7-alpine container_name: govoplan-production-like-redis command: ["redis-server", "--appendonly", "yes"] ports: - "127.0.0.1:${GOVOPLAN_PRODUCTION_LIKE_REDIS_PORT:-56379}:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 20 volumes: - redis-data:/data volumes: postgres-data: redis-data: