Skip to content

Commit

Permalink
Merge pull request #932 from autonomys/feat/seed-dictionary-and-conse…
Browse files Browse the repository at this point in the history
…nsus-schema-at-postgres-init

Seed dictionary and consensus schema at postgres init
  • Loading branch information
marc-aurele-besner authored Nov 11, 2024
2 parents ae27438 + d8480a8 commit 8a535b9
Show file tree
Hide file tree
Showing 18 changed files with 463 additions and 153 deletions.
13 changes: 9 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ services:
hasura:
image: hasura/graphql-engine:v2.40.0
depends_on:
- "postgres"
postgres:
condition: service_healthy
volumes:
- ./indexers/db/migrations:/hasura-migrations
- ./indexers/db/metadata:/hasura-metadata
Expand Down Expand Up @@ -181,8 +182,10 @@ services:
ports:
- "${DICTIONARY_SUBQUERY_NODE_PORT}:3000"
depends_on:
- "postgres"
- "dictionary_subquery_node"
"postgres":
condition: service_healthy
"dictionary_subquery_node":
condition: service_healthy
restart: unless-stopped
environment:
DB_USER: ${DB_USER}
Expand All @@ -199,7 +202,7 @@ services:
profiles: [indexers]
image: subquerynetwork/subql-node-substrate:latest
ports:
- "3001:3000"
- "3004:3000"
depends_on:
"postgres":
condition: service_healthy
Expand Down Expand Up @@ -331,6 +334,8 @@ services:
build:
context: ./indexers/taskboard
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
volumes:
Expand Down
Loading

0 comments on commit 8a535b9

Please sign in to comment.