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

[#503] Update Cardano DB Sync version for Sanchonet #504

Merged
Merged
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
24 changes: 14 additions & 10 deletions scripts/govtool/docker-compose.node+dbsync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
# easily interact with the Cardano blockchain and perform data queries through
# the exposed PostgreSQL database on port 5432 on the DBSync database.
#
# Before start there are three text files that has to be set up in a current
# directory in order to provide sufficient database configuration for both
# PostgreSQL and Cardano DBSync services:
# * ./dev-postgres_db
# * ./dev-postgres_password
# * ./dev-postgres_user
# Before start there are three text files that has to be set up in a GovTool
# configuration directory in order to provide sufficient database configuration
# for both PostgreSQL and Cardano DB Sync services:
# * ${TARGET_HOST_CONFIG_DIR}/dev-postgres_db
adgud marked this conversation as resolved.
Show resolved Hide resolved
# * ${TARGET_HOST_CONFIG_DIR}/dev-postgres_password
# * ${TARGET_HOST_CONFIG_DIR}/dev-postgres_user
#
# The GovTool configuration directory under ${TARGET_HOST_CONFIG_DIR} has to be
# created, the sufficient privileges has to be applied to it to read it's
# context and the ENV has to be provided with proper value.
#
# USAGE:
# docker compose --file docker-compose.node+dbsync.yml up --detach
Expand Down Expand Up @@ -61,7 +65,7 @@ services:
retries: 10

cardano-db-sync:
image: ghcr.io/intersectmbo/cardano-db-sync:sancho-4-0-0-fix-config
image: ghcr.io/intersectmbo/cardano-db-sync:sancho-4.1.0
environment:
- NETWORK=sanchonet
- POSTGRES_HOST=postgres
Expand All @@ -82,11 +86,11 @@ services:

secrets:
postgres_db:
file: ./dev-postgres_db
file: ${TARGET_HOST_CONFIG_DIR}/dev-postgres_db
postgres_password:
file: ./dev-postgres_password
file: ${TARGET_HOST_CONFIG_DIR}/dev-postgres_password
postgres_user:
file: ./dev-postgres_user
file: ${TARGET_HOST_CONFIG_DIR}/dev-postgres_user

volumes:
db-sync-data:
Expand Down