ffffng/config.json.example
baldo ad2db3427d Allow having multiple users for admin login.
* Use password hashes via bcrypt.
* Trying to reduce the risk of timing attacks against login.
2022-07-07 13:10:57 +02:00

158 lines
5.4 KiB
Plaintext

{
"server": {
"baseUrl": "http://localhost:8080",
"port": 8080,
"databaseFile": "/tmp/ffffng.sqlite",
"peersPath": "/tmp/peers",
"logging": {
"enabled": true,
"debug": false,
"profile": false
},
"internal": {
"active": false,
"users": [
{
"user": "admin",
"passwordHash": "$2b$05$VPAg8XHOjhEXlY03SOe7huG1NE.UFvPLdukS0VMiolajdZjrdgj.W"
}
]
},
"email": {
"from": "Freifunk Knotenformular <no-reply@musterstadt.freifunk.net>",
"smtp": {
"host": "mail.example.com",
"port": 465,
"secure": true,
"auth": {
"user": "user@example.com",
"pass": "pass"
}
}
},
"map": {
"nodesJsonUrl": ["http://musterstadt.freifunk.net/nodes.json"]
}
},
"client": {
"community": {
"name": "Freifunk Musterstadt",
"domain": "musterstadt.freifunk.net",
"contactEmail": "kontakt@musterstadt.freifunk.net",
"sites": ["ffms-site1", "ffms-site2"],
"domains": ["ffms-domain1", "ffms-domain2"]
},
"legal": {
"privacyUrl": "http://map.musterstadt.freifunk.net/datenschutz",
"imprintUrl": "http://map.musterstadt.freifunk.net/impressum"
},
"map": {
"mapUrl": "http://map.musterstadt.freifunk.net"
},
"monitoring": {
"enabled": false
},
"coordsSelector": {
"lat": 53.565278,
"lng": 10.001389,
"defaultZoom": 10,
"layers": {}
},
"otherCommunityInfo": {
"showInfo": true,
"showBorderForDebugging": true,
"localCommunityPolygon": [{
"lat": 53.63975308945899, "lng": 9.764785766601562
}, {
"lat": 53.59494998253459, "lng": 9.827270507812
}, {
"lat": 53.663153974456456, "lng": 9.9151611328125
}, {
"lat": 53.65582987649682, "lng": 9.976272583007812
}, {
"lat": 53.68613523817129, "lng": 9.992752075195312
}, {
"lat": 53.68674518938816, "lng": 10.051460266113281
}, {
"lat": 53.72495117617815, "lng": 10.075492858886719
}, {
"lat": 53.71946627930625, "lng": 10.118408203125
}, {
"lat": 53.743635083157756, "lng": 10.164413452148438
}, {
"lat": 53.73104466704585, "lng": 10.202865600585938
}, {
"lat": 53.676781546441546, "lng": 10.16304016113281
}, {
"lat": 53.632832079199474, "lng": 10.235824584960938
}, {
"lat": 53.608803292930894, "lng": 10.2008056640625
}, {
"lat": 53.578646152866504, "lng": 10.208358764648438
}, {
"lat": 53.57212285981298, "lng": 10.163726806640625
}, {
"lat": 53.52071674896369, "lng": 10.18707275390625
}, {
"lat": 53.52643162253097, "lng": 10.224151611328125
}, {
"lat": 53.44062753992289, "lng": 10.347747802734375
}, {
"lat": 53.38824275010831, "lng": 10.248870849609375
}, {
"lat": 53.38824275010831, "lng": 10.15960693359375
}, {
"lat": 53.44635321212876, "lng": 10.064849853515625
}, {
"lat": 53.40595029739904, "lng": 9.985198974609375
}, {
"lat": 53.42385506057106, "lng": 9.951210021972656
}, {
"lat": 53.41843327091211, "lng": 9.944171905517578
}, {
"lat": 53.41812635648326, "lng": 9.927349090576172
}, {
"lat": 53.412294561442884, "lng": 9.917736053466797
}, {
"lat": 53.41464783813818, "lng": 9.901256561279297
}, {
"lat": 53.443490472483326, "lng": 9.912586212158201
}, {
"lat": 53.45177144115704, "lng": 9.897651672363281
}, {
"lat": 53.43633277935392, "lng": 9.866924285888672
}, {
"lat": 53.427639673754776, "lng": 9.866409301757812
}, {
"lat": 53.427639673754776, "lng": 9.858856201171875
}, {
"lat": 53.46710230573499, "lng": 9.795513153076172
}, {
"lat": 53.49039461941655, "lng": 9.795341491699219
}, {
"lat": 53.49029248806277, "lng": 9.77903366088867
}, {
"lat": 53.49856433088649, "lng": 9.780235290527344
}, {
"lat": 53.5078554643033, "lng": 9.758434295654297
}, {
"lat": 53.545407634092975, "lng": 9.759807586669922
}, {
"lat": 53.568147234570084, "lng": 9.633293151855469
}, {
"lat": 53.58802162343514, "lng": 9.655780792236328
}, {
"lat": 53.568351121879815, "lng": 9.727706909179688
}, {
"lat": 53.60921067445695, "lng": 9.737663269042969
}]
}
}
}