From 7a9d9c5a733d238a60bc23fc2dbb261b55176c06 Mon Sep 17 00:00:00 2001 From: Melisa Guevara Date: Mon, 30 Dec 2024 17:52:45 -0500 Subject: [PATCH] docker network for indexer-scraper dbs --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9c40c91b..f42bfa48 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,7 @@ +networks: + test-network: + external: true + services: # PostgreSQL Service postgres: @@ -9,10 +13,13 @@ services: POSTGRES_PASSWORD: ${DATABASE_PASSWORD} POSTGRES_DB: ${DATABASE_NAME} PG_DATA: /var/lib/postgresql/data + command: ["postgres", "-c", "log_statement=all"] volumes: - indexer-pgdata:/var/lib/postgresql/data ports: - 5432:5432 + networks: + - test-network # Redis Service redis: