services: postgres-test: image: postgres:16-alpine ports: - "5433:5432" environment: POSTGRES_USER: consentos_test POSTGRES_PASSWORD: consentos_test POSTGRES_DB: consentos_test tmpfs: - /var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U consentos_test"] interval: 2s timeout: 3s retries: 10 redis-test: image: redis:7-alpine ports: - "6380:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 2s timeout: 3s retries: 10