From fa94280d7fd757352f32dc5a2e32f83c771c8454 Mon Sep 17 00:00:00 2001 From: Jonathan Dance Date: Thu, 17 Oct 2024 10:01:36 -0500 Subject: [PATCH] give up on psql --- docker-compose.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3b9ae979..26b57eda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,34 +11,7 @@ services: - pgduckdb_data:/var/lib/postgresql/data - ./docker/postgresql.conf:/etc/postgresql/postgresql.conf command: postgres -c 'config_file=/etc/postgresql/postgresql.conf' - healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] - interval: 2s - retries: 15 - start_period: 30s - timeout: 2s restart: always - networks: - - pgduckdb_net - psql: - image: postgres:16 - depends_on: - pgduckdb: - condition: service_healthy - stdin_open: true - tty: true - environment: - PGPASSWORD: ${PASSWORD:-duckdb} - command: psql -h 127.0.0.1 -d postgres -U postgres -p ${PORT:-5432} - restart: always - networks: - - pgduckdb_net volumes: pgduckdb_data: - -networks: - pgduckdb_net: - driver: bridge - driver_opts: - com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"