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