-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py.example
24 lines (19 loc) · 933 Bytes
/
config.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python3
# you can use "python -m smtpd -c DebuggingServer -n localhost:1025" for
# testing purposes here
SMTP_HOST = 'localhost'
SMTP_PORT = 1025
SMTP_FROM = '[email protected]'
# If users reply to service emails, they will send mails to the SMTP_REPLY_TO_EMAIL
SMTP_REPLY_TO_EMAIL = '[email protected]'
SMTP_USE_STARTTLS = False
NODES_JSON_URL = 'https://example.com/nodes.json'
# generate via 'python -c "import secrets; print(secrets.token_bytes(16))"'
FLASK_SECRET_KEY = b'Ia\x19\x00).F\x07\x96V\xca\xea\xd0\xd9i\x16'; raise "REPLACE THIS KEY!"
# if you are behind a proxy, set the globally reachable url here
APP_URL = "http://[2a02:790:ff:914:eab1:fcff:fef6:4d16]:8080/"
NODE_LINKS = {
"Map": "https://hannover.freifunk.net/karte/#/de/map/{node.nodeid}",
"Stats": "https://stats.ffh.zone/d/000000021/router-fur-meshviewer?orgId=1&from=now-7d&to=now-1m&var-node={node.nodeid}"
}
DEBUG = False