Skip to content

Commit 3d5e0bb

Browse files
committed
Fix nats healthcheck
1 parent a4ff5b4 commit 3d5e0bb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,14 @@ services:
267267
condition: service_completed_successfully
268268

269269
nats:
270-
image: docker.io/library/nats:2.11.4
270+
# NOTE: using -alpine instead of -scratch so wget can be used in the healthcheck
271+
image: docker.io/library/nats:2.11.4-alpine
271272
ports:
272273
- "4222:4222"
273274
networks:
274275
- local
276+
profiles:
277+
- pacs
275278
healthcheck:
276279
test: wget http://localhost:8222/healthz -q -S -O -
277280
start_period: 10s

0 commit comments

Comments
 (0)