forked from valeriansaliou/raider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cfg
86 lines (61 loc) · 1.96 KB
/
config.cfg
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Raider
# Affiliates dashboard
# Configuration file
# Example: https://github.com/valeriansaliou/raider/blob/master/config.cfg
[server]
log_level = "error"
inet = "[::1]:8080"
workers = 4
track_token = "REPLACE_THIS_WITH_A_SECRET_TRACK_TOKEN"
management_token = "REPLACE_THIS_WITH_A_SECRET_MANAGEMENT_TOKEN"
secret_key = "8Xui8SN4mI+7egV/9dlfYYLGQJeEx4+DwmSQLwDVXJg="
[database]
url = "mysql://[email protected]:3306/crisp_affiliates"
pool_size = 4
idle_timeout = 300
connection_timeout = 10
password_salt = "^96^ofjJDBYrbv9toqtZv3m}k9HNwB*TKVq>2xPhf3j6UQ^M)GV+NKhpME.4Q;W6"
account_create_allow = true
[exchange]
[exchange.fixer]
endpoint = "https://api.apilayer.com/fixer"
api_key = "REPLACE_THIS_WITH_YOUR_APILAYER_FIXER_API_KEY"
[email]
from = "[email protected]"
smtp_host = "localhost"
smtp_port = 587
smtp_username = "user-access"
smtp_password = "user-password"
smtp_encrypt = false
[assets]
path = "./res/assets/"
[branding]
page_title = "Crisp Affiliates"
page_url = "https://affiliates.crisp.chat/"
help_url = "https://help.crisp.chat/"
support_url = "mailto:[email protected]"
icon_color = "#3C82E7"
icon_url = "https://valeriansaliou.github.io/raider/images/crisp-icon.png"
logo_white_url = "https://valeriansaliou.github.io/raider/images/crisp-logo-white.svg"
logo_dark_url = "https://valeriansaliou.github.io/raider/images/crisp-logo-dark.svg"
custom_html = ""
[tracker]
track_url = "https://crisp.chat/"
track_parameter = "t"
commission_default = 0.20
[[tracker.banner]]
banner_url = "https://valeriansaliou.github.io/raider/images/crisp-icon.png"
size_width = 300
size_height = 520
[[tracker.banner]]
banner_url = "https://valeriansaliou.github.io/raider/images/crisp-icon.png"
size_width = 320
size_height = 600
[[tracker.banner]]
banner_url = "https://valeriansaliou.github.io/raider/images/crisp-icon.png"
size_width = 400
size_height = 180
[payout]
currency = "EUR"
amount_minimum = 100.00
administrator_email = "[email protected]"