1
Files
myapi/data/myapi.json.sample
eleksir 457d289f1c Introduce buildinfo.pm, update sample config update TODO
+ Add buildinfo.pm - api for slackbuild env metadata
* Update .psgi files
* update sample config
* update TODO - remove checked-in milestones
2019-11-14 01:43:38 +03:00

54 lines
1.3 KiB
Plaintext

{
"api" : {
"prefix" : "/api"
},
"image_dl" : {
"dir" : "/data/img-save",
"fifo" : "data/image_dl.fifo"
},
"upload" : {
"dir" : {
"mydir" : "/data/upload"
},
"auth": "iliveoncemore"
},
"jabberbot": {
"bot1" : {
"state" : "enabled",
"host" : "localhost",
"confsrv": "conference.localhost",
"room" : "myroom",
"authname" : "botuser",
"mucname" : "Buldozer",
"password": "SECRET",
"brain": "./data/buldozer.jabber.sqlite",
"csign": "!"
},
"instances": [ "bot1" ]
},
"ircbot" : {
"bot1" : {
"state": "enabled",
"brain": "data/threadripper.irc.sqlite",
"name" : "bot2",
"host" : "localhost",
"port" : 6667,
"channel" : "#mychan",
"csign" : "!"
}
},
"telegrambot" : {
"name" : "gozerbot",
"token" : "botfather:token",
"brain": "./data/gozerbot.telegram.sqlite"
},
"metagen" : {
"myslack" : "/var/www/repo/myslack",
"stuff" : "/var/www/repo/stuff"
},
"buildinfo" : {
"backports" : "/path/to/myslack.json",
"thrirdparty" : "/path/to/stuff.json"
}
}