-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnowstorm.toml.example
38 lines (32 loc) · 1.08 KB
/
Snowstorm.toml.example
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
database_url = "postgres://postgres:postgres@localhost/snowstorm"
[web]
enabled = true
listen_uri = "0.0.0.0:3000"
domain = "snowstorm.example.com"
[web.oauth.discord]
enabled = true
redirect_uri = "https://snowstorm.example.com/oauth2_discord"
client_id = "1234567890123456789"
client_secret = "abcdefghijklmnopqrst-uvwxy-zabcd"
guild_id = "1234567890123456789"
[web.oauth.forgejo]
enabled = true
redirect_uri = "https://snowstorm.example.com/oauth2_forgejo"
client_id = "abcdefgh-ijkl-mnop-qrst-uvwxyzabcdef"
client_secret = "gto_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"
base_authorize_uri = "https://git.example.com/login/oauth/authorize"
base_token_uri = "https://git.example.com/login/oauth/access_token"
user_api_uri = "https://git.example.com/api/v1/user"
[jwt]
secret = "some random key"
[scanner]
enabled = true
interface_name = "eth0"
source_port = 61000
task_size_sanity_limit = 1000000
mode_duration = 300
push_to_db = true
[bot]
token = "abcdefghijklmnopqrstuvwxyz.abcdef.ghijklmnopqrstuvwxyzabcdefghijklmnopqr"
bot_id = "1234567890123456789"
guild_id = "1234567890123456789"