From 0d5c4b8babfd4d40cad496724101f6db13c57c4d Mon Sep 17 00:00:00 2001 From: Lincon Vidal Date: Mon, 2 Sep 2024 21:21:23 +0200 Subject: [PATCH 1/3] bump cardano-node, db-sync, ogmios versions --- README.md | 7 ++++--- docker-compose.yml | 18 +++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7a58b1fe..531a8abc 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Check the [releases] for the latest version. ``` console git clone \ --single-branch \ - --branch 8.2.1 \ + --branch 8.2.2 \ --recurse-submodules \ https://github.com/cardano-foundation/cardano-graphql.git \ && cd cardano-graphql @@ -60,7 +60,7 @@ You can download snapshots using Mithril, which are available for mainnet, prepr A detailed explanation can be found [here](https://mithril.network/doc/manual/getting-started/bootstrap-cardano-node)
mainnet -Get the most recent weekly snapshot link [here](https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.4/), and set it as `RESTORE_SNAPSHOT` below, or omit if you wish to sync from genesis. +Get the most recent weekly snapshot link [here](https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/), and set it as `RESTORE_SNAPSHOT` below, or omit if you wish to sync from genesis. > **Disclaimer:** The Chainfollower environment variables are currently mandatory. > Otherwise the Token registry will get stuck. @@ -71,7 +71,7 @@ DOCKER_BUILDKIT=1 \ COMPOSE_DOCKER_CLI_BUILD=1 \ CHAIN_FOLLOWER_START_SLOT=23068800 \ CHAIN_FOLLOWER_START_ID=a650a3f398ba4a9427ec8c293e9f7156d81fd2f7ca849014d8d2c1156c359b3a \ -RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13.4/db-sync-snapshot-schema-13.4-block-10683068-x86_64.tgz \ +RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13.5/db-sync-snapshot-schema-13.5-block-10781364-x86_64.tgz \ docker compose up -d --build &&\ docker compose logs -f ``` @@ -113,6 +113,7 @@ docker compose -p preview logs -f
sanchonet + ``` console DOCKER_BUILDKIT=1 \ COMPOSE_DOCKER_CLI_BUILD=1 \ diff --git a/docker-compose.yml b/docker-compose.yml index c7e67033..4ec1b907 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,7 +26,7 @@ services: max-file: "10" cardano-node: - image: ghcr.io/intersectmbo/cardano-node:${CARDANO_NODE_VERSION:-9.1.0} + image: ghcr.io/intersectmbo/cardano-node:${CARDANO_NODE_VERSION:-9.1.1} environment: - NETWORK=${NETWORK:-mainnet} volumes: @@ -36,7 +36,7 @@ services: entrypoint: cardano-node run --database-path /node/db --socket-path /ipc/node.socket --topology /config/cardano-node/topology.json --config /config/cardano-node/config.json ogmios: - image: cardanosolutions/ogmios:${OGMIOS_VERSION:-v6.5.0} + image: cardanosolutions/ogmios:${OGMIOS_VERSION:-v6.6.0} command: - --host - 0.0.0.0 @@ -55,7 +55,7 @@ services: cardano-db-sync: platform: linux/x86_64 - image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.4.0.0} + image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.5.0.1} command: [ "--config", "/config/cardano-db-sync/config.json", "--socket-path", "/node-ipc/node.socket" @@ -66,11 +66,11 @@ services: - RESTORE_SNAPSHOT=${RESTORE_SNAPSHOT:-} - RESTORE_RECREATE_DB=N depends_on: - # Depend on both services to be healthy before starting. + # Depend on both services to be started before starting. cardano-node: - condition: service_healthy + condition: service_started postgres: - condition: service_healthy + condition: service_started secrets: - postgres_password - postgres_user @@ -90,7 +90,7 @@ services: hasura: build: context: ./packages/api-cardano-db-hasura/hasura - image: cardanofoundation/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-8.2.1} + image: cardanofoundation/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-8.2.2} ports: - ${HASURA_PORT:-8090}:8080 depends_on: @@ -114,7 +114,7 @@ services: build: context: . target: background - image: cardanofoundation/cardano-graphql-background:${CARDANO_GRAPHQL_VERSION:-8.2.1}-${NETWORK:-mainnet} + image: cardanofoundation/cardano-graphql-background:${CARDANO_GRAPHQL_VERSION:-8.2.2}-${NETWORK:-mainnet} depends_on: - "hasura" - "postgres" @@ -142,7 +142,7 @@ services: - NETWORK=${NETWORK:-mainnet} context: . target: server - image: cardanofoundation/cardano-graphql-server:${CARDANO_GRAPHQL_VERSION:-8.2.1}-${NETWORK:-mainnet} + image: cardanofoundation/cardano-graphql-server:${CARDANO_GRAPHQL_VERSION:-8.2.2}-${NETWORK:-mainnet} environment: - ALLOW_INTROSPECTION=true - CACHE_ENABLED=true From 2448fde6255b4a0a12cfc863621dd1a358a21903 Mon Sep 17 00:00:00 2001 From: linconvidal Date: Tue, 3 Sep 2024 15:48:17 +0200 Subject: [PATCH 2/3] bump ogmios to v6.6.1 --- docker-compose.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4ec1b907..1d41c077 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,9 +34,9 @@ services: - node-db:/node/db - ./config/network/${NETWORK:-mainnet}:/config entrypoint: cardano-node run --database-path /node/db --socket-path /ipc/node.socket --topology /config/cardano-node/topology.json --config /config/cardano-node/config.json - + ogmios: - image: cardanosolutions/ogmios:${OGMIOS_VERSION:-v6.6.0} + image: cardanosolutions/ogmios:${OGMIOS_VERSION:-v6.6.1} command: - --host - 0.0.0.0 @@ -56,10 +56,7 @@ services: cardano-db-sync: platform: linux/x86_64 image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.5.0.1} - command: [ - "--config", "/config/cardano-db-sync/config.json", - "--socket-path", "/node-ipc/node.socket" - ] + command: [ "--config", "/config/cardano-db-sync/config.json", "--socket-path", "/node-ipc/node.socket" ] environment: - POSTGRES_HOST=postgres - POSTGRES_PORT=${POSTGRES_PORT:-5432} From 9b1d6a7961f52966cef7f9daecac1eec562ec363 Mon Sep 17 00:00:00 2001 From: Lincon Vidal Date: Mon, 9 Sep 2024 12:52:12 +0200 Subject: [PATCH 3/3] bump db-sync version --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1d41c077..5d6f32ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,7 +55,7 @@ services: cardano-db-sync: platform: linux/x86_64 - image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.5.0.1} + image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.5.0.2} command: [ "--config", "/config/cardano-db-sync/config.json", "--socket-path", "/node-ipc/node.socket" ] environment: - POSTGRES_HOST=postgres