1
0
forked from apxtri/apxtri
apxtri/setup/conf/townconf.json
2023-12-10 08:33:09 +01:00

55 lines
1.2 KiB
JSON

{ "chaintonation":false,
"foldertowns":"xx/apxtowns",
"nationId": "xx",
"townId": "xx",
"sudoerUser": "xx",
"dns": ["xx"],
"towns": [
{ "townId": "wall", "nationId": "ants", "dns": "wall-ants.ndda.fr" }
],
"api": {
"port": 3020,
"languages": ["en", "fr"],
"exposedHeaders": [
"xdays",
"xhash",
"xalias",
"xlang",
"xtribe",
"xapp",
"xuuid"
],
"nationObjects": [
"schema",
"blocks",
"nations",
"towns",
"tribes",
"pagans"
],
"unittesting": ["middlewares", "models", "routes", "nationchains"],
"appset": { "trust proxy": true },
"bodyparse": {
"urlencoded": { "limit": "50mb", "extended": true },
"json": { "limit": "500mb" }
}
},
"nginx": {
"restart": "sudo systemctl restart nginx",
"worker_connections": 1024
},
"emailcontact":"wall-ants@ndda.fr",
"smtp": {
"host": "in-v3.mailjet.com",
"port": "587",
"auth": {
"user": "??",
"password": "??"
}
},
"sms": {
"url": "https://api.mailjet.com/v4/sms-send",
"Token": "",
"From": ""
}
}