mirror of
https://github.com/getlago/lago.git
synced 2024-12-22 16:33:19 +07:00
misc: Add healthcheck for clock and worker
This commit is contained in:
parent
fd94ec7023
commit
3b4604d0bd
@ -136,6 +136,12 @@ services:
|
||||
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
|
||||
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
|
||||
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
|
||||
healthcheck:
|
||||
test: ps aux | grep '[s]idekiq\ 7' || exit 1
|
||||
interval: 60s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
timeout: 10s
|
||||
|
||||
api-clock:
|
||||
image: api
|
||||
@ -157,6 +163,12 @@ services:
|
||||
- ENCRYPTION_KEY_DERIVATION_SALT={ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt}
|
||||
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
|
||||
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
|
||||
healthcheck:
|
||||
test: ps aux | grep 'bin/clockwork\ ./clock.rb' || exit 1
|
||||
interval: 60s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
timeout: 10s
|
||||
|
||||
pdf:
|
||||
image: getlago/lago-gotenberg:7
|
||||
|
Loading…
Reference in New Issue
Block a user