From dedfc35cc87e7919fbc9c30ea85161d08c669ac0 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 10 Oct 2025 18:47:53 -0400 Subject: Remove need for docker network creation --- docker-compose.postgresql.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'docker-compose.postgresql.yml') diff --git a/docker-compose.postgresql.yml b/docker-compose.postgresql.yml index d511647..737eb3e 100644 --- a/docker-compose.postgresql.yml +++ b/docker-compose.postgresql.yml @@ -2,20 +2,13 @@ services: postgres_db: image: postgres:16.1-alpine3.19 container_name: bolt_postgresql_db + network_mode: host healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5 - ports: - - "4001:5432" environment: - POSTGRES_DB=test_db - POSTGRES_USER=test_user - POSTGRES_PASSWORD=testpassword - volumes: - - postgres_db_volume:/var/lib/postgresql/data - -volumes: - postgres_db_volume: - name: postgres-db-volume -- cgit v1.2.3