-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
.env.example
58 lines (47 loc) · 1.44 KB
/
.env.example
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
52
53
54
55
56
57
58
# Environment
TG_ENV='development'
TG_AUTOUPDATE=1
# Directories
TG_BASE_DIR='/var/www/tg-support-bot'
TG_CACHE_DIR='${TG_BASE_DIR}/cache'
TG_COMMANDS_DIR='${TG_BASE_DIR}/commands'
TG_LOGS_DIR='${TG_BASE_DIR}/logs'
TG_PUBLIC_DIR='${TG_BASE_DIR}/public'
TG_DOWNLOADS_DIR='${TG_BASE_DIR}/downloads'
TG_UPLOADS_DIR='${TG_BASE_DIR}/uploads'
# Bot vitals
TG_API_KEY='12345:api_key'
TG_BOT_USERNAME='my_cool_bot'
TG_SECRET='super-secret'
# Bot extras
TG_WEBHOOK='{"url": "https://bot.com/manager.php"}'
TG_ADMINS='[123,456]'
TG_LOGGING='{"error": "${TG_LOGS_DIR}/error.log", "update": "${TG_LOGS_DIR}/update.log"}'
# Request Client
TG_REQUEST_CLIENT_BASE_URI='https://client-base-uri.com'
TG_REQUEST_CLIENT_PROXY='socks5://client-proxy.com:9050'
# Database
TG_DB_HOST='localhost'
TG_DB_PORT=3306
TG_DB_USER='root'
TG_DB_PASSWORD='root'
TG_DB_DATABASE='tgbot'
# Paths
TG_COMMANDS='{"paths": ["${TG_COMMANDS_DIR}"]}'
TG_PATHS='{"download": "${TG_DOWNLOADS_DIR}", "upload": "${TG_UPLOADS_DIR}"}'
# Webhook secrets
TG_WEBHOOK_SECRET_GITHUB='github-secret'
# GitHub API token
TG_GITHUB_AUTH_USER='github-user'
TG_GITHUB_AUTH_TOKEN='github-token'
# Telegram Payments
TG_PAYMENT_PROVIDER_TOKEN='123:TEST:abc'
# Support group
TG_SUPPORT_GROUP_ID='-12345'
TG_SUPPORT_GROUP_USERNAME='Support_Group'
TG_SUPPORT_GROUP_ACTIVATION_EXPIRE_TIME='15 min'
TG_SUPPORT_GROUP_BAN_TIME='1 day'
# URLs
TG_URL_DONATE='https://...'
TG_URL_PATREON='https://...'
TG_URL_TIDELIFT='https://...'