]> git.somenet.org - pub/jan/mattermost.git/blob - management/config.py.example
[management] Base mm-management stuff
[pub/jan/mattermost.git] / management / config.py.example
1 #
2 # Someone's Mattermost scripts.
3 #   published under MIT-License
4 #   written 2016-2020 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
5 #
6 # Config file.
7 #   mv to config.py.examle config.py + edit.
8 #
9 # consider running as cronjob
10 #   0 * * * *  (cd /home/someone/mattermost/management; python3 -u account_handling.py)
11 #
12
13 # sysadmin-bot
14 mm_api_url = "http://localhost:8065/api"
15 mm_user = "..."
16 mm_user_pw = "..."
17
18 # The allowed email addresses for user accounts.
19 allowed_emails_regex = r".*@(.*tld|tld2|tld3)$"
20
21 # The team-ids guests are joined/confined into.
22 guest_team_ids = {"..."}
23
24 # The channel-ids guests are joined/confined into.
25 guest_channels = {"..."}