1
0
mirror of https://github.com/civsocit/olgram.git synced 2025-12-15 20:26:16 +00:00

minor changes, auto-certificate

This commit is contained in:
mihalin
2021-09-15 22:53:18 +03:00
parent cf80e903da
commit 289b0d239a
13 changed files with 95 additions and 270 deletions

12
example.env Normal file
View File

@@ -0,0 +1,12 @@
BOT_TOKEN=YOUR_BOT_TOKEN_HERE # example: 123456789:AAAA-abc123_AbcdEFghijKLMnopqrstu12
POSTGRES_USER=olgram
POSTGRES_PASSWORD=SOME_RANDOM_PASSWORD_HERE # example: x2y0n27ihiez93kmzj82
POSTGRES_DB=olgram
POSTGRES_HOST=postgres
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
REDIS_PATH=redis://redis