У меня проблема с версией докера CitusData на MAC.
SQLSTATE[08006] [7] could not connect to server: Connection refused
Список докер-контейнеров ниже:
ba187040a5ca citusdata/citus:8.2.2 "docker-entrypoint.s…" About a minute ago Up About a minute (healthy) 5432/tcp citus_worker_1
3105ddb06049 citusdata/membership-manager:0.2.0 "python -u ./manager…" About a minute ago Up About a minute (healthy) citus_manager
2cbd2b2bad49 citusdata/citus:8.2.2 "docker-entrypoint.s…" About a minute ago Up About a minute (healthy) 0.0.0.0:5433->5432/tcp citus_master
docker-compose.yml - https://docs.citusdata.com/en/stable/installation/single_machine_docker.html#post-install версия: '2.1'
services:
master:
container_name: "${COMPOSE_PROJECT_NAME:-citus}_master"
image: 'citusdata/citus:8.2.2'
ports: ["${MASTER_EXTERNAL_PORT:-5432}:5432"]
labels: ['com.citusdata.role=Master']
worker:
image: 'citusdata/citus:8.2.2'
labels: ['com.citusdata.role=Worker']
depends_on: { manager: { condition: service_healthy } }
manager:
container_name: "${COMPOSE_PROJECT_NAME:-citus}_manager"
image: 'citusdata/membership-manager:0.2.0'
volumes: ['/var/run/docker.sock:/var/run/docker.sock']
depends_on: { master: { condition: service_healthy } }