olgram/example.env

27 lines
738 B
Bash
Raw Normal View History

# example: 123456789:AAAA-abc123_AbcdEFghijKLMnopqrstu12 (without quotes!)
2021-12-14 23:57:43 +03:00
BOT_TOKEN=YOUR_BOT_TOKEN_HERE
2021-09-15 22:53:18 +03:00
POSTGRES_USER=olgram
2021-12-14 23:57:43 +03:00
# example: x2y0n27ihiez93kmzj82 (without quotes!)
2021-12-14 23:57:43 +03:00
POSTGRES_PASSWORD=SOME_RANDOM_PASSWORD_HERE
2021-09-15 22:53:18 +03:00
POSTGRES_DB=olgram
POSTGRES_HOST=postgres
# example: i7flci0mx4z5patxnl6m (without quotes!)
2021-12-14 23:57:43 +03:00
TOKEN_ENCRYPTION_KEY=SOME_RANDOM_PASSWORD_HERE
# use your user id or group chat id to restrict access to the bot
# ADMIN_ID=223453418
2021-09-26 20:36:05 +03:00
# example: 11.143.142.140 or my_domain.com (without quotes, without 'https://' prefix!)
2021-12-14 23:57:43 +03:00
WEBHOOK_HOST=YOUR_HOST_HERE
2021-10-01 20:06:09 +03:00
2021-12-14 23:57:43 +03:00
# allowed: 80, 443, 8080, 8443
WEBHOOK_PORT=8443
# use that if you don't set up your own domain and let's encrypt certificate
CUSTOM_CERT=true
2021-09-15 22:53:18 +03:00
REDIS_PATH=redis://redis