refactoring wasmcloud infra

This commit is contained in:
2024-12-12 11:32:30 +01:00
parent fd5228c46e
commit fb95a31079
16 changed files with 94 additions and 786 deletions

View File

@@ -0,0 +1,11 @@
services:
nats:
image: nats:alpine
container_name: nats
restart: always
command: -c /etc/nats/nats.conf
ports:
- "4222:4222" # client port
- "8222:8222" # monitoring port
volumes:
- ./nats-leaf.conf:/etc/nats/nats.conf

View File

@@ -0,0 +1,11 @@
jetstream {
domain: leaf
}
leafnodes {
remotes: [
{
url: "nats://nats.cluster.local:7422"
}
]
}