Базовая информация

This commit is contained in:
2026-08-10 10:05:19 +06:00
parent 43b2bf539c
commit 21d5c578f6
15 changed files with 305 additions and 0 deletions
@@ -0,0 +1,20 @@
volumes:
hrbox-nats-data:
services:
nats:
restart: "on-failure"
image: nats:2.10
command:
- "-js"
- "--server_name=nats3"
- "--cluster_name=nats"
- "--cluster=nats://0.0.0.0:6222"
- "--routes=nats-route://10.0.0.11:6222,nats-route://10.0.0.12:6222"
- "--store_dir=/data"
volumes:
- hrbox-nats-data:/data
ports:
- "4222:4222"
- "8222:8222"
- "6222:6222"