Fixed $HOSTNAME variable usage in healthcheck command.

This commit is contained in:
tetebueno 2024-11-04 14:47:15 -03:00 committed by GitHub
parent 34c12a9536
commit 304eb0754e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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