From dcee7a98dfd15239085ae22a950c4afbf3f830d1 Mon Sep 17 00:00:00 2001 From: mihalin Date: Tue, 14 Dec 2021 23:57:43 +0300 Subject: [PATCH] =?UTF-8?q?example.env=20=D0=BC=D0=B5=D0=BB=D0=BA=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example.env | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/example.env b/example.env index 003655a..1043acc 100644 --- a/example.env +++ b/example.env @@ -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_PASSWORD=SOME_RANDOM_PASSWORD_HERE # example: x2y0n27ihiez93kmzj82 + +# example: x2y0n27ihiez93kmzj82 +POSTGRES_PASSWORD=SOME_RANDOM_PASSWORD_HERE + POSTGRES_DB=olgram 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 -WEBHOOK_PORT=8443 # allowed: 80, 443, 8080, 8443 -CUSTOM_CERT=true # use that if you don't set up your own domain and let's encrypt certificate +# example: 11.143.142.140 or my_domain.com +WEBHOOK_HOST=YOUR_HOST_HERE + +# 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