fix: add jetstream
This commit is contained in:
parent
b79ae1c1c2
commit
9be686bbfd
@ -54,8 +54,11 @@ services:
|
|||||||
image: nats:2.11-alpine
|
image: nats:2.11-alpine
|
||||||
container_name: fluxer-nats
|
container_name: fluxer-nats
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
command: ["-js", "-DV"]
|
||||||
ports:
|
ports:
|
||||||
- "4222:4222"
|
- "4222:4222"
|
||||||
|
volumes:
|
||||||
|
- nats-data:/data/jetstream
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "nc -z localhost 4222 || exit 1"]
|
test: ["CMD-SHELL", "nc -z localhost 4222 || exit 1"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
@ -128,3 +131,4 @@ volumes:
|
|||||||
fluxer_data:
|
fluxer_data:
|
||||||
meilisearch_data:
|
meilisearch_data:
|
||||||
elasticsearch_data:
|
elasticsearch_data:
|
||||||
|
nats-data:
|
||||||
Loading…
x
Reference in New Issue
Block a user