blob: 06102a01dfd446469cd0550321ac91464a017977 (
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
|
[server]
domain = "localhost"
port = 2210
request-timeout = 10
log-level = "debug"
system-name = "sellershut"
environment = "dev"
[oauth]
redirect-url = "https://example.com"
[oauth.discord]
client-id = ""
client-secret = ""
token-url = "https://example.com"
auth-url = "https://example.com"
[database]
url = "postgres://postres:password@localhost:5432/sellershut"
pool-size = 100
[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
|