From 9be686bbfd2877957ec967dda9a87992b4ea970d Mon Sep 17 00:00:00 2001 From: murdle Date: Sat, 28 Feb 2026 20:00:06 +0200 Subject: [PATCH] fix: add jetstream --- compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose.yaml b/compose.yaml index ffb03f70..d6bda02d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -54,8 +54,11 @@ services: image: nats:2.11-alpine container_name: fluxer-nats restart: unless-stopped + command: ["-js", "-DV"] ports: - "4222:4222" + volumes: + - nats-data:/data/jetstream healthcheck: test: ["CMD-SHELL", "nc -z localhost 4222 || exit 1"] interval: 5s @@ -128,3 +131,4 @@ volumes: fluxer_data: meilisearch_data: elasticsearch_data: + nats-data: \ No newline at end of file