From 061d9fff817e29cc4019f11786e27e9390b45779 Mon Sep 17 00:00:00 2001 From: Andreas Mautsch Date: Sun, 30 Jun 2024 09:29:09 +0200 Subject: [PATCH] changes --- src/deploy/docker/templates/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/deploy/docker/templates/docker-compose.yml b/src/deploy/docker/templates/docker-compose.yml index 58dcedb..cb1a7a1 100644 --- a/src/deploy/docker/templates/docker-compose.yml +++ b/src/deploy/docker/templates/docker-compose.yml @@ -97,6 +97,8 @@ services: - nats container_name: ${_Values_root_name}-nats image: nats:2.10.16 + command: + - -jetstream restart: 'no' ports: - 4222:4222 @@ -104,6 +106,8 @@ services: - 8222:8222 networks: - ${_Values_root_name}-net + volumes: + - natsdata:/tmp/nats/jetstream nginx: container_name: ${_Values_root_name}-nginx @@ -125,6 +129,7 @@ volumes: tmp: applogs: rabbitdata: + natsdata: networks: event-dispatcher-service-net: