summaryrefslogtreecommitdiffstats
path: root/crates/profile-service/profile.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-26 19:24:38 +0200
committerrtkay123 <dev@kanjala.com>2025-07-26 19:24:38 +0200
commite26d87f4fa18999c6bcfbcf32cfa85adab11acdd (patch)
tree603c6dacb6c448984bdcc5fa2b4a9314f1a23960 /crates/profile-service/profile.toml
parent236876f1d0539ac22a3977fd8599933725ad0f90 (diff)
downloadsellershut-e26d87f4fa18999c6bcfbcf32cfa85adab11acdd.tar.bz2
sellershut-e26d87f4fa18999c6bcfbcf32cfa85adab11acdd.zip
feat(auth): create user call
Diffstat (limited to 'crates/profile-service/profile.toml')
-rw-r--r--crates/profile-service/profile.toml37
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