make events settings configurable

This commit is contained in:
Willy Kloucek
2022-02-22 13:55:32 +01:00
parent 949308bd61
commit 6cbdbd87f2
5 changed files with 27 additions and 4 deletions
+2 -2
View File
@@ -22,6 +22,6 @@ type Config struct {
// Nats is the nats config
type Nats struct {
Host string
Port int
Host string `ocisConfig:"host" env:"NATS_NATS_HOST"`
Port int `ocisConfig:"port" env:"NATS_NATS_PORT"`
}