Skip to content

Commit

Permalink
add nats conf again
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Aug 16, 2024
1 parent a7fc0d8 commit 887f96b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/webhook-ingest/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ services:
nats-server:
image: nats:latest
ports:
- "4222"
command: ["--jetstream", "--store_dir", "/data"]
- "4222:4222"
command: ["--config", "/etc/nats/nats-server.conf"]
volumes:
- nats_data:/data
- ./nats-server.conf:/etc/nats/nats-server.conf
networks:
- common-network

Expand Down
5 changes: 5 additions & 0 deletions server/webhook-ingest/nats-server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
listen: "0.0.0.0:4222"

jetstream {
store_dir: "/data"
}

0 comments on commit 887f96b

Please sign in to comment.