-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.toml
47 lines (39 loc) · 1.17 KB
/
default.toml
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
[log]
level = "trace"
[process]
title = "wdam"
[app]
name = "Audit Manager"
adminUrl = "https://audit-manager.wildduck.email/"
clientUrl = "https://audit.wildduck.email/"
pageLimit = 20
[app.pgp]
#version = "WildDuck Audit v1.0.0"
#comment = "https://wildduck.email"
[app.pgp.sign]
key = "./config/sign.pem"
password = "08Sgipx582LZFNxjMQVRDH5kf1l"
[web]
enabled = true
workers = 2
port = 7000
host = "127.0.0.1"
proxy = false
postSize = "5MB"
[web.cookie]
# pwgen -N 1 -s 64
name = "wdam"
secret = "a cat"
secure = false
[dbs]
mongo = "mongodb://127.0.0.1:27017/wildduck"
redis="redis://127.0.0.1:6379/7"
[root]
# default root user
enabled = true
username = "root"
# Command for generating password hash in Linux:
# echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1
# Or in OSX:
# echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | shasum -a 256 | cut -d" " -f1
passwordHash = "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08" # test