Skip to content

Commit

Permalink
More dev healthcheck stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Jan 28, 2025
1 parent 28e962e commit 1ff66c5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ services:
- ./services/gateway:/home/node/app
- gateway-node-modules:/home/node/app/node_modules
depends_on:
- elasticsearch
- postgres
- temporal

background-worker:
Expand All @@ -181,6 +183,8 @@ services:
volumes:
- ./services/gateway:/home/node/app
- background-worker-node-modules:/home/node/app/node_modules
depends_on:
- temporal

background-worker-go:
build:
Expand Down Expand Up @@ -215,6 +219,8 @@ services:
volumes:
- ./services/gateway:/home/node/app
- transcode-worker-node-modules:/home/node/app/node_modules
depends_on:
- temporal

transcode-worker:
build:
Expand All @@ -234,6 +240,8 @@ services:
volumes:
- ./services/gateway:/home/node/app
- transcode-worker-node-modules:/home/node/app/node_modules
depends_on:
- temporal

transcribe-worker:
build:
Expand All @@ -254,6 +262,8 @@ services:
volumes:
- ./services/gateway:/home/node/app
- transcribe-worker-node-modules:/home/node/app/node_modules
depends_on:
- temporal

import-worker:
build:
Expand All @@ -272,6 +282,8 @@ services:
volumes:
- ./services/gateway:/home/node/app
- import-worker-node-modules:/home/node/app/node_modules
depends_on:
- temporal

#
# Vendor Services
Expand Down Expand Up @@ -399,6 +411,11 @@ services:
- 127.0.0.1:${HOST_ES_PORT}:9200
volumes:
- es-data:/usr/share/elasticsearch/data
healthcheck:
test: curl -s -f elasticsearch:9200/_cat/health >/dev/null || exit 1
interval: 30s
timeout: 10s
retries: 5

#
# Development
Expand Down

0 comments on commit 1ff66c5

Please sign in to comment.