Skip to content

Commit 816cf69

Browse files
fix: bump version of envio hasura in docker (#107)
2 parents dfd4ad5 + 821f14d commit 816cf69

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,26 @@ Use the default password: `my-admin-secret`.
119119
3. Wait until the new chain is fully indexed
120120
4. Run bootstrap pricing and metadata scripts (refer to: [[How to run bootstrap for specific chain](scripts/bootstrap/README.md)] )
121121

122+
## Upgrade Notes
123+
124+
### 1. Hasura Version Mismatch in `envio`
125+
126+
When upgrading `envio`, the Hasura version used in `envio` may change. This can lead to version mismatches between different `docker-compose.yml` files in the project.
127+
128+
### 2. Local Development Setup
129+
130+
- `envio` uses a `docker-compose.yml` located at `apps/indexer/generated/` for local development.
131+
- The root-level `docker-compose.yml` may have a different Hasura version, leading to potential inconsistencies.
132+
- Example of a version mismatch found:
133+
- **Root `docker-compose.yml`**: `hasura/graphql-engine:v2.23.0`
134+
- **Generated `docker-compose.yml` (envio)**: `hasura/graphql-engine:v2.43.0`
135+
136+
### 3. Recommended Fix
137+
138+
To avoid version mismatches:
139+
140+
- Alternatively, update the Hasura version in the root `docker-compose.yml` to match the `generated` one whenever `envio` is upgraded.
141+
122142
## Contributing
123143

124144
Wonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ services:
8989
networks:
9090
- indexer
9191
indexer-graphql-api:
92-
image: hasura/graphql-engine:v2.23.0
92+
image: hasura/graphql-engine:v2.43.0
9393
ports:
9494
- "${HASURA_EXPOSED_PORT:-8080}:${PORT:-8080}"
9595
user: 1001:1001

0 commit comments

Comments
 (0)