Skip to content

Commit

Permalink
chore: add cardano-node-ogmios to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Cruz committed Jun 17, 2022
1 parent 27c2671 commit cd88a1f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions cardano-rosetta-server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ services:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
cardano-node:
image: inputoutput/cardano-node:${CARDANO_NODE_VERSION:-1.35.0-rc2}
environment:
- NETWORK=${NETWORK:-mainnet}
volumes:
- node-db:/data/db
- node-ipc:/ipc
max-file: "10"
cardano-node-ogmios:
image: cardanosolutions/cardano-node-ogmios:${CARDANO_NODE_OGMIOS_VERSION:-v5.5.0-rc1}-${NETWORK:-mainnet}
logging:
driver: "json-file"
options:
max-size: "400k"
max-file: "20"
ports:
- ${OGMIOS_PORT:-1337}:1337
restart: on-failure
volumes:
- node-db:/db
- node-ipc:/ipc
cardano-db-sync:
image: inputoutput/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.0.0-rc2}
command: [
Expand All @@ -45,15 +46,15 @@ services:
- RESTORE_SNAPSHOT=${RESTORE_SNAPSHOT:-}
- RESTORE_RECREATE_DB=N
depends_on:
- cardano-node
- cardano-node-ogmios
- postgres
secrets:
- postgres_password
- postgres_user
- postgres_db
volumes:
- ../config/network/${NETWORK:-mainnet}:/config
- db-sync-data:/data
- db-sync-data:/var/lib/cexplorer
- node-ipc:/node-ipc
restart: on-failure
logging:
Expand All @@ -69,7 +70,6 @@ services:
target: cardano-rosetta-server
environment:
- BIND_ADDRESS=0.0.0.0
- CARDANO_CLI_PATH=/usr/local/bin/cardano-cli
- CARDANO_NODE_PATH=/usr/local/bin/cardano-node
- CARDANO_NODE_SOCKET_PATH=/node-ipc/node.socket
- DB_CONNECTION_STRING=postgresql://postgres:notForProduction!@postgres:5432/cexplorer
Expand All @@ -79,6 +79,8 @@ services:
- PAGE_SIZE=30
- PORT=8080
- TOPOLOGY_FILE_PATH=/config/cardano-node/topology.json
- OGMIOS_HOST=cardano-node-ogmios
- OGMIOS_PORT=1337
expose:
- 8080
ports:
Expand Down

0 comments on commit cd88a1f

Please sign in to comment.