-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.app-settings.yaml
48 lines (34 loc) · 1.15 KB
/
sample.app-settings.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
# WARNING:
## DO NOT commit *app-settings.yaml* file
settings:
#### Server connection
server:
#### (Option<String>) Server IP
# Leave the field empty to auto resolve the ip address
ip: #127.0.0.1
#### (u32) Server port
port: 8080
#### (Option<String>) Domain name
# Leave the field empty to auto resolve the ip address
domain: #http://127.0.0.1
#### (String) Cookie secret `openssl rand -base64 128`
cookie_secret: XXXXXXXXXXXXXXX
#### (i64) max age of the cookie
cookie_max_age_secs: 216000
#### (String) api secret token `openssl rand -base64 64`
api_secret_token: XXXXXXXXXXXXXXX
#### (String) API secret token key which has to be passed via API header
api_secret_key: "API_TOKEN_XXX"
#### (bool) enable content encoding (compression)
enable_content_compression: true
#### (bool) Enable TLS support
enable_tls: true
#### (Option<ServerTls>) TLS/HTTPS data
tls:
#### (String) Key file
tls_key_file: /path/key.pem
#### (String) Cert file
tls_cert_file: /path/cert.pem
telegram:
token: "xxxxxxxx:yyyyyyyyyyyyy"
chat_id: "-xxxxxxxxx"