config.json.j2 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "receiver": {
  3. "receivers": [
  4. { "module": "announced",
  5. "config": {
  6. "interval": {
  7. "statistics": 60,
  8. "nodeinfo": 500
  9. }
  10. }
  11. },
  12. { "module": "aliases",
  13. "config": {
  14. "file": "./aliases.json"
  15. },
  16. "overlay": true
  17. }
  18. ],
  19. "ifaces": [
  20. {% for domaene in domaenen|dictsort %}
  21. "bat{{domaene[0]}}"{% if not loop.last %},{% endif %}
  22. {% endfor %}
  23. ],
  24. "storage": {
  25. "file": "./raw.json"
  26. },
  27. "purge": {
  28. "maxAge": {{ mapconfig.hopglassServer.purge.max_age }}
  29. }
  30. },
  31. "provider": {
  32. "offlineTime": 900,
  33. "named": {
  34. "mapTemplate": "https://{{inventory_hostname_short}}.{{freifunk.domain_short}}/map/#!v:m;n:{node_id}",
  35. "origin": "knoten.{{freifunk.domain}}.",
  36. "defaultTtl": 86400,
  37. "refresh": 86400,
  38. "retry": 7200,
  39. "expire": 2419200,
  40. "minTtl": 86400,
  41. "nameservers": [
  42. "ns1.{{freifunk.domain}}.",
  43. "ns2.{{freifunk.domain}}.",
  44. "ns3.{{freifunk.domain}}."
  45. ],
  46. "subdomainNet": [
  47. "{{ff_network.v6_network}}"
  48. ],
  49. "namePadding" : 40
  50. }
  51. },
  52. "webserver": {
  53. "port": 4000
  54. }
  55. }