update dependencies

This commit is contained in:
jdenquin 2024-11-05 15:21:10 +01:00
parent 2e13daa2cb
commit 8b33eb924f

View File

@ -68,8 +68,12 @@ services:
depends_on:
migrate:
condition: service_completed_successfully
db:
condition: service_healthy
restart: true
redis:
condition: service_healthy
restart: true
command: ["./scripts/start.api.sh"]
healthcheck:
test: curl -f http://localhost:3000/health || exit 1
@ -131,6 +135,7 @@ services:
depends_on:
api:
condition: service_healthy
restart: true
environment:
- API_URL=${LAGO_API_URL:-http://localhost:3000}
- APP_ENV=${APP_ENV:-production}
@ -166,8 +171,12 @@ services:
image: getlago/api:v1.15.2
restart: unless-stopped
depends_on:
api:
db:
condition: service_healthy
restart: true
redis:
condition: service_healthy
restart: true
command: ["./scripts/start.worker.sh"]
healthcheck:
test: ["CMD-SHELL", "bundle exec sidekiqmon | grep $(hostname) || exit 1"]
@ -298,8 +307,12 @@ services:
image: getlago/api:v1.15.2
restart: unless-stopped
depends_on:
api:
db:
condition: service_healthy
restart: true
redis:
condition: service_healthy
restart: true
command: ["./scripts/start.clock.sh"]
environment:
- LAGO_API_URL=${LAGO_API_URL:-http://localhost:3000}