Skip to content

Commit

Permalink
chore: upgraded the node to version 8.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo committed Jun 11, 2024
1 parent 131d524 commit 3f6d373
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Check the [releases] for the latest version.
``` console
git clone \
--single-branch \
--branch 8.0.3 \
--branch 8.1.0 \
--recurse-submodules \
https://github.com/cardano-foundation/cardano-graphql.git \
&& cd cardano-graphql
Expand Down Expand Up @@ -78,7 +78,6 @@ API_PORT=3101 \
HASURA_PORT=8091 \
OGMIOS_PORT=1338 \
POSTGRES_PORT=5433 \
METADATA_SERVER_URI="https://metadata.world.dev.cardano.org" \
docker compose -p preprod up -d --build &&\
docker compose -p preprod logs -f
```
Expand All @@ -96,7 +95,6 @@ API_PORT=3102 \
HASURA_PORT=8092 \
OGMIOS_PORT=1339 \
POSTGRES_PORT=5434 \
METADATA_SERVER_URI="https://metadata.world.dev.cardano.org" \
docker compose -p preview up -d --build &&\
docker compose -p preview logs -f
```
Expand All @@ -113,7 +111,6 @@ API_PORT=3102 \
HASURA_PORT=8092 \
OGMIOS_PORT=1339 \
POSTGRES_PORT=5434 \
METADATA_SERVER_URI="https://metadata.world.dev.cardano.org" \
docker compose -p preview up -d --build &&\
docker compose -p preview logs -f
```
Expand All @@ -130,10 +127,10 @@ your use-case.
Get the most recent weekly snapshot link [here](https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/), and set it as `RESTORE_SNAPSHOT` below, or omit if you wish to sync from genesis.
``` console
export NETWORK=mainnet &&\
docker pull cardanofoundation/cardano-graphql-server:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.0.3 &&\
docker pull cardanosolutions/cardano-node-ogmios:v5.6.0_1.35.5-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-server:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.1.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v6.4.0_8.9.3-${NETWORK} &&\
RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13.2/db-sync-snapshot-schema-13.2-block-10060706-x86_64.tgz \
docker compose up -d &&\
docker compose logs -f
Expand All @@ -145,10 +142,10 @@ docker compose logs -f

``` console
export NETWORK=preprod &&\
docker pull cardanofoundation/cardano-graphql-server:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.0.3 &&\
docker pull cardanosolutions/cardano-node-ogmios:v5.6.0_1.35.5-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-server:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.1.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v6.4.0_8.9.3-${NETWORK} &&\
API_PORT=3101 \
HASURA_PORT=8091 \
OGMIOS_PORT=1338 \
Expand All @@ -164,10 +161,10 @@ docker compose -p ${NETWORK} logs -f

``` console
export NETWORK=preview &&\
docker pull cardanofoundation/cardano-graphql-server:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.0.3-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.0.3 &&\
docker pull cardanosolutions/cardano-node-ogmios:v6.2.0_8.9.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-server:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-background:8.1.0-${NETWORK} &&\
docker pull cardanofoundation/cardano-graphql-hasura:8.1.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v6.4.0_8.9.3-${NETWORK} &&\
API_PORT=3102 \
HASURA_PORT=8092 \
OGMIOS_PORT=1339 \
Expand Down Expand Up @@ -210,10 +207,14 @@ docker compose -p preview down
### Use global Token Metadata Registry
The public Token metadata registry has a limit of daily requests, this can lead to long sync times, when resyncing from scratch.
If it's still needed to run with the global environment it's possible by removing the `token-metadata-registry` from `docker-compose.yml`.
And start it with:
And start it with for Mainnet:
```
METADATA_SERVER_URI="https://tokens.cardano.org" docker compose up -d
```
For other networks:
```
METADATA_SERVER_URI="https://metadata.world.dev.cardano.org"
```

### Upgrade Database to Postgres 14
If you are upgrading from Postgres 11 to 14: A resync will be needed.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:

cardano-node-ogmios:
platform: linux/x86_64
image: cardanosolutions/cardano-node-ogmios:${OGMIOS_VERSION:-v6.2.0}_${CARDANO_NODE_VERSION:-8.9.0}-${NETWORK:-mainnet}
image: cardanosolutions/cardano-node-ogmios:${OGMIOS_VERSION:-v6.4.0}_${CARDANO_NODE_VERSION:-8.9.3}-${NETWORK:-mainnet}
logging:
driver: "json-file"
options:
Expand Down

0 comments on commit 3f6d373

Please sign in to comment.