remex/config.json

32 lines
503 B
JSON

{
"server": {
"listen": "0.0.0.0",
"port": 3000
},
"log": {
"level": "debug",
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"api": [
{
"url": "/tail",
"method": "get",
"command": "tail",
"args": [
"-f",
"/tmp/test"
],
"options": {
"detach": true,
"unique": true,
"restart": true
}
},
{
"url": "/uptime",
"method": "get",
"command": "uptime",
"args": []
}
]
}