Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: docker network for indexer and scraper databases #142

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Comment on lines +1 to +4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This network can be renamed.
I still have to check that both the indexer and scraper work fine using this network.

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"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only for debugging purposes. Can be deleted later.

volumes:
- indexer-pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
networks:
- test-network

# Redis Service
redis:
Expand Down
Loading