Skip to content

Commit

Permalink
add dependency services
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Jan 20, 2025
1 parent 535e592 commit c0ee828
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ services:
timeout: 5s
retries: 3
depends_on:
"postgres":
condition: service_healthy
- postgres
restart: unless-stopped

# Hasura GraphQL Engine
hasura:
Expand Down Expand Up @@ -179,8 +179,8 @@ services:
build:
context: ./indexers/dictionary/${DICTIONARY_DIRECTORY}
depends_on:
"postgres":
condition: service_healthy
- pgcat
- postges
restart: unless-stopped
environment:
DB_USER: ${DB_USER}
Expand All @@ -205,10 +205,10 @@ services:
ports:
- "127.0.0.1:${DICTIONARY_SUBQUERY_NODE_PORT}:3000"
depends_on:
"postgres":
condition: service_healthy
"dictionary_subquery_node":
condition: service_healthy
- pgcat
- postges
- dictionary_subquery_node

restart: unless-stopped
environment:
DB_USER: ${DB_USER}
Expand All @@ -227,8 +227,8 @@ services:
ports:
- "3001:3001"
depends_on:
"postgres":
condition: service_healthy
- pgcat
- postges
restart: unless-stopped
environment:
ENDPOINT: ${RPC_URLS}
Expand Down Expand Up @@ -264,10 +264,9 @@ services:
ports:
- "3002:3002"
depends_on:
"postgres":
condition: service_healthy
"dictionary_subquery_node":
condition: service_healthy
- pgcat
- postges
- dictionary_subquery_node
restart: unless-stopped
environment:
ENDPOINT: ${RPC_URLS}
Expand Down Expand Up @@ -303,10 +302,9 @@ services:
ports:
- "3003:3003"
depends_on:
"postgres":
condition: service_healthy
"dictionary_subquery_node":
condition: service_healthy
- pgcat
- postges
- dictionary_subquery_node
restart: unless-stopped
environment:
ENDPOINT: ${RPC_URLS}
Expand Down Expand Up @@ -342,8 +340,8 @@ services:
ports:
- "3004:3004"
depends_on:
"postgres":
condition: service_healthy
- pgcat
- postges
restart: unless-stopped
environment:
ENDPOINT: ${RPC_URLS}
Expand Down Expand Up @@ -400,10 +398,9 @@ services:
build:
context: ./indexers/taskboard
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
- pgcat
- postges
- redis
volumes:
- ./indexers/taskboard:/app
hostname: taskboard
Expand Down

0 comments on commit c0ee828

Please sign in to comment.