From 00bdf313bf0f8d02c05330a0686d037de20c662a Mon Sep 17 00:00:00 2001 From: "Felix T.J. Dietrich" Date: Fri, 16 Aug 2024 21:55:48 +0200 Subject: [PATCH] add conf --- server/webhook-ingest/compose.yaml | 3 ++- server/webhook-ingest/jetstream.conf | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 server/webhook-ingest/jetstream.conf diff --git a/server/webhook-ingest/compose.yaml b/server/webhook-ingest/compose.yaml index 3f65cc62..5a7e7269 100644 --- a/server/webhook-ingest/compose.yaml +++ b/server/webhook-ingest/compose.yaml @@ -15,9 +15,10 @@ services: image: nats:latest ports: - "4222" - command: "-js" + command: ["-js", "-c /etc/nats/nats-server.conf"] volumes: - nats_data:/data + - ./nats-server.conf:/etc/nats/nats-server.conf networks: - common-network diff --git a/server/webhook-ingest/jetstream.conf b/server/webhook-ingest/jetstream.conf new file mode 100644 index 00000000..a95a0b3f --- /dev/null +++ b/server/webhook-ingest/jetstream.conf @@ -0,0 +1,5 @@ +jetstream { + store_dir: "/data/jetstream" + max_mem: 1G + max_file: 100G +}