Skip to content

Commit

Permalink
Add hasura.select_limit env variable, switch Hasura image to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Feb 7, 2024
1 parent 0cbe7fa commit 28e0fab
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/dipdup.ghostnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ database:
hasura:
url: http://${HASURA_HOST:-hasura}:8080
admin_secret: ${ADMIN_SECRET:-changeme}
select_limit: 10000
select_limit: ${HASURA_SELECT_LIMIT:-10000}
allow_aggregation: false
rest: true
source:
Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ database:
hasura:
url: http://${HASURA_HOST:-hasura}:8080
admin_secret: ${ADMIN_SECRET:-changeme}
select_limit: 10000
select_limit: ${HASURA_SELECT_LIMIT:-10000}
allow_aggregation: false
rest: true
source:
Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.thumbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ database:
hasura:
url: http://${HASURA_HOST:-hasura}:8080
admin_secret: ${ADMIN_SECRET:-changeme}
select_limit: 100
select_limit: ${HASURA_SELECT_LIMIT:-100}
allow_aggregation: false
rest: true

Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ database:
hasura:
url: http://${HASURA_HOST:-hasura}:8080
admin_secret: ${ADMIN_SECRET:-changeme}
select_limit: 10000
select_limit: ${HASURA_SELECT_LIMIT:-10000}
allow_aggregation: false
rest: true
source:
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme}
- ADMIN_SECRET=${ADMIN_SECRET:-changeme}
- HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-1000}
- IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io}
volumes:
- ipfs:/etc/metadata/ipfs
Expand All @@ -37,7 +38,7 @@ services:
retries: 5

hasura:
image: hasura/graphql-engine:v2.23.0
image: hasura/graphql-engine:latest
ports:
- "127.0.0.1:8080:8080"
depends_on:
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme}
- ADMIN_SECRET=${ADMIN_SECRET:-changeme}
- HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-1000}
- IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io}
volumes:
- ipfs:/etc/metadata/ipfs
Expand All @@ -36,7 +37,7 @@ services:
retries: 5

hasura:
image: hasura/graphql-engine:v2.23.0
image: hasura/graphql-engine:latest
ports:
- "127.0.0.1:8080:8080"
depends_on:
Expand Down

0 comments on commit 28e0fab

Please sign in to comment.