26 lines
631 B
Text
26 lines
631 B
Text
|
|
let constraints = import "schemas/platform/common/constraints.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
DaemonConfig = {
|
||
|
|
server = {
|
||
|
|
host | String | default = "0.0.0.0",
|
||
|
|
port | Number | default = 9095,
|
||
|
|
workers | Number | optional = 2,
|
||
|
|
},
|
||
|
|
daemon = {
|
||
|
|
enabled | Bool | default = true,
|
||
|
|
poll_interval | Number | default = 60,
|
||
|
|
max_workers | Number | default = 2,
|
||
|
|
},
|
||
|
|
logging = {
|
||
|
|
level | String | default = "info",
|
||
|
|
format | String | optional,
|
||
|
|
file | String | optional,
|
||
|
|
},
|
||
|
|
actions = {
|
||
|
|
auto_cleanup | Bool | default = false,
|
||
|
|
auto_update | Bool | default = false,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|