forked from LiterMC/go-openbmclapi
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yaml
90 lines (90 loc) · 2.02 KB
/
config.yaml
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
87
88
89
90
log-slots: 7
no-access-log: false
access-log-slots: 16
byoc: false
use-cert: false
trusted-x-forwarded-for: false
public-host: ""
public-port: 0
port: 4000
cluster-id: ${CLUSTER_ID}
cluster-secret: ${CLUSTER_SECRET}
sync-interval: 10
only-gc-when-start: false
download-max-conn: 16
max-reconnect-count: 10
certificates:
- cert: /path/to/cert.pem
key: /path/to/key.pem
tunneler:
enable: false
tunnel-program: ./path/to/tunnel/program
output-regex: \bNATedAddr\s+(?<host>[0-9.]+|\[[0-9a-f:]+\]):(?<port>\d+)$
tunnel-timeout: 0
cache:
type: inmem
serve-limit:
enable: false
max-conn: 16384
upload-rate: 10240
api-rate-limit:
anonymous:
per-minute: 10
per-hour: 120
logged:
per-minute: 120
per-hour: 6000
notification:
enable-email: false
email-smtp: smtp.example.com:25
email-smtp-encryption: tls
email-sender: noreply@example.com
email-sender-password: example-password
enable-webhook: true
dashboard:
enable: true
username: ""
password: ""
pwa-name: GoOpenMCIM Dashboard
pwa-short_name: GOMCIM Dash
pwa-description: Go-OpenMCIM Internal Dashboard
notification-subject: mailto:user@example.com
github-api:
update-check-interval: 1h0m0s
authorization: ""
database:
driver: sqlite
data-source-name: files.db
hijack:
enable: false
enable-local-cache: false
local-cache-path: hijack_cache
require-auth: false
auth-users:
- username: example-username
password: example-password
storages:
- type: local
id: local-storage-0
weight: 100
data:
cache-path: _cache
compressor: ""
webdav-users:
example-user:
endpoint: https://webdav.example.com/path/to/endpoint/
username: example-username
password: example-password
advanced:
debug-log: false
socket-io-log: false
no-heavy-check: false
no-gc: false
heavy-check-interval: 120
keepalive-timeout: 10
skip-first-sync: false
skip-signature-check: false
no-fast-enable: false
wait-before-enable: 0
do-NOT-redirect-https-to-SECURE-hostname: false
do-not-open-faq-on-windows: false