Skip to content

Commit ce55112

Browse files
committed
fix: solve healthcheck minor issue
1 parent 8ab352e commit ce55112

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/docker-compose.production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ services:
202202
SMTP_PORT: '${SMTP_PORT:-587}'
203203
SMTP_DOMAIN: '${SMTP_DOMAIN:-gmail.com}'
204204
healthcheck:
205-
test: ["CMD-SHELL", "ps aux | grep '[s]idekiq' || exit 1"]
205+
test: ["CMD-SHELL", "grep -q sidekiq /proc/1/cmdline || exit 1"]
206206
interval: 30s
207207
timeout: 10s
208208
retries: 3

0 commit comments

Comments
 (0)