example.env мелкие правки

This commit is contained in:
mihalin 2021-12-14 23:57:43 +03:00
parent 645357995b
commit dcee7a98df

View File

@ -1,16 +1,26 @@
BOT_TOKEN=YOUR_BOT_TOKEN_HERE # example: 123456789:AAAA-abc123_AbcdEFghijKLMnopqrstu12 # example: 123456789:AAAA-abc123_AbcdEFghijKLMnopqrstu12
BOT_TOKEN=YOUR_BOT_TOKEN_HERE
POSTGRES_USER=olgram POSTGRES_USER=olgram
POSTGRES_PASSWORD=SOME_RANDOM_PASSWORD_HERE # example: x2y0n27ihiez93kmzj82
# example: x2y0n27ihiez93kmzj82
POSTGRES_PASSWORD=SOME_RANDOM_PASSWORD_HERE
POSTGRES_DB=olgram POSTGRES_DB=olgram
POSTGRES_HOST=postgres POSTGRES_HOST=postgres
TOKEN_ENCRYPTION_KEY=SOME_RANDOM_PASSWORD_HERE # example: i7flci0mx4z5patxnl6m # example: i7flci0mx4z5patxnl6m
TOKEN_ENCRYPTION_KEY=SOME_RANDOM_PASSWORD_HERE
# ADMIN_ID=223453418 # use your user id or group chat id to restrict access to the bot # use your user id or group chat id to restrict access to the bot
# ADMIN_ID=223453418
WEBHOOK_HOST=YOUR_HOST_HERE # example: 11.143.142.140 or my_domain.com # example: 11.143.142.140 or my_domain.com
WEBHOOK_PORT=8443 # allowed: 80, 443, 8080, 8443 WEBHOOK_HOST=YOUR_HOST_HERE
CUSTOM_CERT=true # use that if you don't set up your own domain and let's encrypt certificate
# 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
REDIS_PATH=redis://redis REDIS_PATH=redis://redis