diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-12 05:13:32 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-12 05:13:32 +0200 |
commit | c5ea875f544824b0c042bf7c0a58b3134f9c0373 (patch) | |
tree | 4913d4ff2b408c7157e33894e40deec570ecce9e /crates/configuration/warden-config.toml | |
parent | 9c850d6c4d0ed468709c2eb5340d7b64bbb9aa68 (diff) | |
download | warden-c5ea875f544824b0c042bf7c0a58b3134f9c0373.tar.bz2 warden-c5ea875f544824b0c042bf7c0a58b3134f9c0373.zip |
feat(config): get active routing
Diffstat (limited to 'crates/configuration/warden-config.toml')
-rw-r--r-- | crates/configuration/warden-config.toml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crates/configuration/warden-config.toml b/crates/configuration/warden-config.toml new file mode 100644 index 0000000..1f613f6 --- /dev/null +++ b/crates/configuration/warden-config.toml @@ -0,0 +1,40 @@ +[application] +env = "development" +port = 1304 + +[monitoring] +log-level = "warden_config=trace,info" +opentelemetry-endpoint = "http://localhost:4317" +loki-endpoint = "http://localhost:3100" + +[misc.nats] +stream = "configuration" +max-messages = 10000 +subject = "configuration.reload" + +[database] +pool_size = 100 +port = 5432 +name = "configuration" +host = "localhost" +password = "password" +user = "postgres" + +[nats] +hosts = ["nats://localhost:4222"] + +[cache] +dsn = "redis://localhost:6379" +pooled = true +type = "non-clustered" # clustered, non-clustered or sentinel +max-connections = 100 + +[cache.sentinel] +master-name = "mymaster" +nodes = [ + { host = "127.0.0.1", port = 26379 }, + { host = "127.0.0.2", port = 26379 }, + { host = "127.0.0.3", port = 26379 }, +] + +# vim:ft=toml |