diff options
Diffstat (limited to 'crates/profile-service/profile.toml')
-rw-r--r-- | crates/profile-service/profile.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/profile-service/profile.toml b/crates/profile-service/profile.toml new file mode 100644 index 0000000..13a5f0a --- /dev/null +++ b/crates/profile-service/profile.toml @@ -0,0 +1,37 @@ +[application] +env = "development" +port = 1610 + +[monitoring] +log-level = "sellershut_profiles=trace,info" + +[misc] +temp-ttl = 1000 +cache-ttl = 300 + +[database] +pool_size = 100 +port = 5432 +name = "profiles" +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 |