Sample env variables

This commit is contained in:
Stan James 2018-02-25 07:28:32 -06:00
parent 2abf64461d
commit 3b73710c3b

27
env_sample.sh Normal file
View File

@ -0,0 +1,27 @@
# Example env vars for bot
export TELEGRAM_BOT_POSTGRES_URL="postgresql://postgres:postgres@localhost/origindb"
read -r -d '' MESSAGE_BAN_PATTERNS << 'EOF'
# ETH
# e.g. F8C8405e85Cfe42551DEfeB2a4548A33bb3DF840
[0-9a-fA-F]{40,40}
# BTC
# e.g. 13qt9rCA2CQLZedmUuDiPkwdcAJLsuTvLm
|[0-9a-zA-Z]{34,34}
EOF
read -r -d '' MESSAGE_HIDE_PATTERNS << 'EOF'
# ETH
# e.g. F8C8405e85Cfe42551DEfeB2a4548A33bb3DF840
|[0-9a-fA-F]{40,40}
# BTC
# e.g. 13qt9rCA2CQLZedmUuDiPkwdcAJLsuTvLm
|[0-9a-zA-Z]{34,34}
EOF
export TELEGRAM_BOT_TOKEN="XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
export NAME_BAN_PATTERNS="admin$"
export CHAT_IDS="-250531994"