Updated docker compose syntax with respect to dependencies to maintain consistency with the upstream docker-compose role.

This commit is contained in:
2026-02-08 22:28:14 +00:00
parent 2585dbffd1
commit 7b2081b94c
6 changed files with 48 additions and 8 deletions

View File

@@ -1,6 +1,9 @@
# Single-node NATS configuration for local app-to-app messaging.
# WeatherFeeder can publish to this server without authentication.
# Listen on all IPv4 and IPv6 interfaces
listen: "[::]:4222"
# Client connections (WeatherFeeder + consumers).
port: 4222
@@ -8,6 +11,6 @@ port: 4222
monitor_port: 8222
# Optional persistence for future stream use.
jetstream {
store_dir: "/data"
}
#jetstream {
# store_dir: "/data"
#}

View File

@@ -0,0 +1,20 @@
---
sources:
- name: WeatherfeederNATS
driver: nats
params:
url: nats://nats:4222
subject: weatherfeeder
# Optional source tuning:
# max_batch: 256
# receive_wait: 25ms
sinks:
- name: stdout
driver: stdout
params: {}
routes:
- sink: stdout
kinds: []
...