forked from YunoHost-Apps/fallback_ynh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_panel.toml
88 lines (64 loc) · 2.31 KB
/
config_panel.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
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
version = "0.1"
name = "Fallback configuration panel"
[main_server]
name = "Fallback, main server configuration"
[main_server.encryption]
name = "Encryption"
[main_server.encryption.encrypt]
ask = "Do you want to encrypt your backups ?"
type = "boolean"
default = true
[main_server.encryption.encryption_pwd]
ask = "Set the password for encryption"
type = "password"
optional = true
help = "A password is needed if encryption is activated."
[main_server.ssh_config]
name = "ssh configuration"
[main_server.ssh_config.ssh_host]
ask = "Domain name for the fallback server ?"
type = "text"
optional = true
help = "This server has to be up, for the ssh-keyscan command."
[main_server.ssh_config.ssh_port]
ask = "Port for the ssh connection to the fallback server ?"
type = "number"
default = 22
optional = true
[fallback_server]
name = "Fallback, fallback server configuration"
[fallback_server.ssh_config]
name = "ssh configuration"
[fallback_server.ssh_config.pub_key]
ask = "Public key from your main server ?"
type = "text"
optional = true
[fallback_server.auto_deploy]
name = "Auto deployement"
[fallback_server.auto_deploy.auto_detect_failure]
ask = "Auto detect a failure of the main server ?"
type = "boolean"
default = true
[fallback_server.auto_deploy.delay_before_incident]
ask = "Delay before declaring an incident with the main server."
type = "number"
default = 60
optional = true
help = "Value in minutes"
[fallback_server.auto_deploy.contact_mail]
ask = "Email address to contact in case of failure."
type = "text"
optional = true
[fallback_server.auto_deploy.auto_deploy]
ask = "Deploy automatically the fallback in case of failure ?"
type = "boolean"
default = false
[global]
name = "Global configuration"
[global.config]
name = "Global configuration"
[global.config.email_type]
ask = "Send HTML email to admin ?"
type = "boolean"
default = true
help = "Allow app scripts to send HTML mails instead of plain text."