Skip to content

Commit

Permalink
Apply DBSync configuration to the DBSync container
Browse files Browse the repository at this point in the history
Updated the Docker Compose template `docker-compose.yml.tpl` for the
DBSync container to include the new configuration. Added a command to
specify the path to the `db-sync-config.json` file and also included a
volume mount to provide the configuration file to the container. This
change ensures the DBSync process uses the correct settings, allowing it
to adapt to future updates and ensuring better synchronization with the
Cardano blockchain.
  • Loading branch information
placek committed Jul 23, 2024
1 parent ba21289 commit 7970bad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/govtool/config/templates/docker-compose.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ services:
volumes:
- db-sync-data:/var/lib/cexplorer
- node-ipc:/node-ipc
- /home/<DOCKER_USER>/config/cardano-node:/configuration
command:
- "--config /configuration/db-sync-config.yaml"
- "--socket-path /node-ipc/node.socket"
restart: always
logging: *logging

Expand Down

0 comments on commit 7970bad

Please sign in to comment.