summaryrefslogtreecommitdiffstats
path: root/crates/users-service/users.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/users-service/users.toml')
-rw-r--r--crates/users-service/users.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/users-service/users.toml b/crates/users-service/users.toml
new file mode 100644
index 0000000..9706fcf
--- /dev/null
+++ b/crates/users-service/users.toml
@@ -0,0 +1,37 @@
+[application]
+env = "development"
+port = 1610
+
+[monitoring]
+log-level = "sellershut_users=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