Skip to content

Commit

Permalink
Merge pull request #504 from IntersectMBO/chore/503-update-cardano-db…
Browse files Browse the repository at this point in the history
…-sync-version-for-sanchonet

[#503] Update Cardano DB Sync version for Sanchonet
  • Loading branch information
placek authored Mar 20, 2024
2 parents ffd1129 + 223679b commit 8e2a082
Showing 1 changed file with 14 additions and 10 deletions.
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
# * ${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

0 comments on commit 8e2a082

Please sign in to comment.