Базовая информация
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user