-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
51 lines (38 loc) · 2.1 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#################### PostgreSQL container environment variables ####################
# [!] Set your db timezone
TZ=${TZ:-Europe/Moscow}
# Specify any postgres username, but this one is preferable
POSTGRES_USER=${POSTGRES_USER:-docker}
# [!] Set your secret password
POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-XXXXXXXXXXXXXXXXX...}
# Specify any postgres database name, but this one is preferable
POSTGRES_DB=${POSTGRES_DB:-ksivpn-tgbot-postgres-db}
# [!] Set dbms country-language, where locale is global language and lc-time is dates
# and times formatting language.
# See more in documentation: https://www.postgresql.org/docs/current/locale.html
POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS:-'--locale=en_US.UTF-8 --lc-time=ru_RU.UTF-8'}
# [!] Set additional country-language to be installed in postgres container.
# HAVE TO BE THE SAME AS xx_XX IN --lc-time OPTION (you need to install language for using it)
ADDITIONAL_LANGUAGE=${ADDITIONAL_LANGUAGE:-ru_RU}
#################### Telegram bot container environment variables ####################
# [!] Set your admin telegram id
ADMIN_ID=${ADMIN_ID:-000000000}
# [!] Set your bot token
BOT_TOKEN=${BOT_TOKEN:-0000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}
# [!] Set your Yoomoney token (can be obtained using yoomoney-api:
# https://github.com/AlekseyKorshuk/yoomoney-api?tab=readme-ov-file#access-token)
YOOMONEY_TOKEN=${YOOMONEY_TOKEN:-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...}
# [!] Set your Yoomoney account number
YOOMONEY_ACCOUNT_NUMBER=${YOOMONEY_ACCOUNT_NUMBER:-000000000000000}
# Specify backup directory, but this one is preferable
BACKUP_PATH=${BACKUP_PATH:-/usr/src/tgbot/backups}
# [!] Set your localization language
# (have to be the same as file name of *.json in localization folder)
LOCALIZATION_LANGUAGE=${LOCALIZATION_LANGUAGE:-en}
#################### Ports for Docker ports mapping ####################
# Specify Docker Host Machine ports used for port mapping
BOT_HTTP_PORT=${BOT_HTTP_PORT:-8080}
BOT_HTTPS_PORT=${BOT_HTTPS_PORT:-8443}
POSTGRES_PORT=${POSTGRES_PORT:-54320}
#################### Docker Images tags ####################
TAG=${TAG:-latest}