Updated feedstack to include weatherdb and weatherapi containers
This commit is contained in:
@@ -73,12 +73,22 @@ sinks:
|
||||
params:
|
||||
url: nats://nats:4222
|
||||
exchange: weatherfeeder
|
||||
|
||||
- name: weatherdb
|
||||
driver: postgres
|
||||
params:
|
||||
uri: postgres://weatherdb:5432/{{ feedstack_weatherdb_database }}?sslmode=disable
|
||||
username: {{ feedstack_weatherdb_user }}
|
||||
password: {{ feedstack_weatherdb_password }}
|
||||
|
||||
# optional: route events to this sink
|
||||
routes:
|
||||
- sink: nats_weatherfeeder
|
||||
kinds: ["observation", "forecast", "alert"]
|
||||
|
||||
- sink: weatherdb
|
||||
kinds: ["observation", "forecast", "alert"]
|
||||
|
||||
- sink: stdout
|
||||
kinds: ["observation", "forecast", "alert"]
|
||||
...
|
||||
Reference in New Issue
Block a user