Skip to content

Commit

Permalink
docker network for indexer-scraper dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
melisaguevara committed Dec 30, 2024
1 parent 97c04f4 commit 7a9d9c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
networks:
test-network:
external: true

services:
# PostgreSQL Service
postgres:
Expand All @@ -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:
Expand Down

0 comments on commit 7a9d9c5

Please sign in to comment.