blob: 9706fcf23b1281b1d2572a858649cc83e5f83640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|