-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pyenv.example
21 lines (17 loc) · 1.15 KB
/
.pyenv.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# The user we authenticate with becomes the sender of the message
export JID_FROM_USER="user@host"
# Cleartext password of the above user
export JID_FROM_PASS="my-StroNG-pAssWOrd"
# The webhook token and its associated MUC receives the message from the displayed nick
# Can be a list of valid forward targets by separating every pair with a space
# The same room with different token and nick lets you reuse the same user for multiple services
# You can easily generate a Slack-like new token with running the following in bash:
# openssl rand -hex 10 | tr [a-z] [A-Z]
export KNOWN_ROOMS="token1:[email protected]:nick1 token2:[email protected]:nick2 token3:[email protected]:nick3"
# The log level of the XMPP lib can be different from the Gunicorn/Flash app
# Defaults to the Docker env setting
export XMPP_LOG_LEVEL="${LOG_LEVEL}"
# Format of the XMPP message. Pretty printed, indented by 2 spaces. Supported values:
# - json: better portability of the original JSON, unicode characters are converted to \u1231 and such
# - yaml: better readability, unicode characters are allowed for better readability (avoid \u1231 and such chars in messages)
export MESSAGE_FORMAT="json"