This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.toml.example
81 lines (74 loc) · 2.39 KB
/
app.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
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
# Kahinah v4 configuration file
# basic configuration
# - baseURL defines the base domain that this is served on
baseURL = "https://kahinah.openmandriva.org"
# - listenAddr defines the listening address
listenAddr = "0.0.0.0"
# - listenPort defines the listening port
listenPort = 3000
# - runMode determines whether on panics, we should dump the stacktrace too.
# -- it also determines whether we should reparse templates on every load.
# -- dev means yes, prod means no.
runMode = "dev"
# - urlPrefix determines whether kahinah should prefix all its routes (for use
# -- behind a reverse proxy if needed). Leave empty if not needed.
urlPrefix = ""
# database configuration
[database]
# - prefix defines the prefix for the database tables
prefix = "kh_"
# - type defines the database type. postgres, mysql, sqlite3 are supported.
type = "sqlite3"
# - name defines the database name
name = "data.sqlite"
# - host, user, pass (self-explanatory)
host = "localhost:3306"
user = "root"
pass = "toor"
# - debug (print out statements - dangerous!)
debug = false
# authentication configuration
# - authentication with CAS
[authentication.cas]
enable = false
url = "https://auth.openmandriva.org/cas/"
# integration configuration
[integration]
# set the polling rate for integration services to use (if supported).
# use any crontab specification or description. leave empty to disable.
poll = "@hourly"
# - integration with abf
[integration.abf]
enable = false
host = "https://abf.io"
user = "kahinah_abf"
apiKey = "apikey"
# -- read the following platforms for updates. you should have write access to
# the groups; else, pushing to testing will fail.
readPlatforms = [ "openmandriva2014.0", "cooker" ]
# -- whitelist the following architectures
archWhitelist = [ "x86_64", "i586" ]
# -- enable git cloning for diff creation
gitDiff = false
# --- enable ssh for git cloning
gitDiffSSH = false
# administrator configuration
[admin]
# - allow only people whitelisted to vote
whitelist = false
# - set the list of administrators
administrators = ["rxu"]
# mail configuration
[mail]
# - enable mails
enable = false
# - set up smtp
smtpUser = "[email protected]"
smtpPass = "password"
smtpDomain = "example.com"
smtpHost = "mail.example.com:25"
smtpTLSVerify = true
smtpFrom = "[email protected]"
# - set up a global mailing list address. any global mails emailed to users will
# also be sent to this mailing list.
globalList = "[email protected]"