services: postgres: image: postgres:16-alpine ports: - "5432:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: rudel volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 3s retries: 5 clickhouse: image: clickhouse/clickhouse-server:latest ports: - "8123:8123" environment: CLICKHOUSE_PASSWORD: clickhouse volumes: - clickhouse_data:/var/lib/clickhouse - ./.github/clickhouse/config.d/storage-policy.xml:/etc/clickhouse-server/config.d/storage-policy.xml:ro healthcheck: test: ["CMD", "clickhouse-client", "--password", "clickhouse", "--query", "SELECT 1"] interval: 5s timeout: 3s retries: 5 volumes: postgres_data: clickhouse_data: