Merge pull request #371 from tetebueno/patch-3

Fixed $HOSTNAME variable usage in healthcheck command
This commit is contained in:
Evgenii Burmakin 2024-11-04 21:28:00 +01:00 committed by GitHub
commit 240eb4dc0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,7 @@ services:
max-size: "100m"
max-file: "5"
healthcheck:
test: [ "CMD-SHELL", "bundle exec sidekiqmon processes | grep ${HOSTNAME}" ]
test: [ "CMD-SHELL", "bundle exec sidekiqmon processes | grep $${HOSTNAME}" ]
interval: 10s
retries: 5
start_period: 30s