From 7196b9f2647a6161d756050aa075656b4454784d Mon Sep 17 00:00:00 2001 From: erangel1 Date: Tue, 12 May 2026 23:51:12 +0000 Subject: [PATCH] Update docker-compose.prod.yml --- docker-compose.prod.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index f8860cb..b2f2701 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -14,7 +14,20 @@ services: interval: 5s timeout: 5s retries: 10 - + + nats: + image: mirror.gcr.io/nats:2-alpine + restart: unless-stopped + command: ["-js", "-m", "8222"] + ports: + - "4222:4222" # client connections + # "8222:8222" # monitoring HTTP + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "http://localhost:8222/healthz"] + interval: 5s + timeout: 5s + retries: 10 + app: build: . container_name: fb-app