-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.config.toml
More file actions
42 lines (35 loc) · 893 Bytes
/
example.config.toml
File metadata and controls
42 lines (35 loc) · 893 Bytes
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
38
39
40
41
42
dev = false
warn_unknown_event_categorie = false
[log]
level = "info"
format = "text"
add_source = false
[server]
tracker_addr = ":8084"
public_tracker_url = "http://localhost:8084"
rewards_addr = ":8085"
public_rewards_url = "http://localhost:8085"
[database]
host = "localhost" # replace with db in case you run with the compose.yml
port = 5432
username = "campfire-tools"
password = "password"
database = "campfire-tools"
ssl_mode = "disable"
[campfire]
every = "2s"
burst = 10
max_retries = 3
[discord_auth]
client_id = "123456789012345678"
client_secret = "your_client_secret"
guild_id = "123456789012345678"
whitelist = ["123456789012345678"]
admins = ["123456789012345678"]
[campfire_auth]
auth_url = "http://localhost:8085"
client_id = "123456789"
client_secret = "your_client_secret"
[notifications]
enabled = true
webhook_url = "https://discord.com/api/webhooks/<ID>/<TOKEN>"