Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Tx Service migrations execution dependencies #138

Merged
merged 3 commits into from
May 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ x-healthcheck-redis-template: &redishealthcheck
timeout: 30s
retries: 3

x-healthcheck-celery-template: &celeryhealthcheck
healthcheck:
test: ["CMD", "celery", "inspect", "ping"]
interval: 30s
timeout: 30s
retries: 3

services:
# Common nginx and database
nginx:
Expand Down Expand Up @@ -95,16 +102,15 @@ services:
txs-redis:
condition: service_healthy
command: docker/web/celery/worker/run.sh
<<: *celeryhealthcheck

txs-worker-contracts-tokens:
<<: *txs-worker
environment:
- WORKER_QUEUES=contracts,tokens
- ETHEREUM_NODE_URL=${RPC_NODE_URL}
depends_on:
txs-db:
condition: service_healthy
txs-redis:
txs-worker-indexer:
condition: service_healthy

txs-worker-notifications-webhooks:
Expand All @@ -113,9 +119,7 @@ services:
- WORKER_QUEUES=notifications,webhooks
- ETHEREUM_NODE_URL=${RPC_NODE_URL}
depends_on:
txs-db:
condition: service_healthy
txs-redis:
txs-worker-indexer:
condition: service_healthy

txs-scheduler:
Expand Down
Loading