-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
52 lines (45 loc) · 1.38 KB
/
Copy path.env.example
File metadata and controls
52 lines (45 loc) · 1.38 KB
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
# Example of filling in the .env file
# ===========================================
# Environment
# ===========================================
ENVIRONMENT=development # development | test | production
# ===========================================
# Telegram
# ===========================================
TG__WEBHOOK_USE=False
TG__WEBHOOK_PATH=/telegram
TG__BOT_TOKEN=1234567890:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
TG__ADMIN_IDS=[5252216460]
# ===========================================
# WebHook
# ===========================================
WEBHOOK__URL=https://localhost
WEBHOOK__HOST=0.0.0.0
WEBHOOK__PORT=8000
WEBHOOK__SECRET=my_long_and_random_secret_string_for_telegram
# ===========================================
# Database
# ===========================================
DB__HOST=db
DB__PORT=5432
DB__USER=default
DB__PASSWORD=password
DB__NAME=telegram_bot_template
# ===========================================
# Redis
# ===========================================
REDIS__HOST=redis
REDIS__PORT=6379
REDIS__USER=default
REDIS__PASSWORD=password
REDIS__DB=0
# ===========================================
# API Settings (FastAPI for Mini Apps)
# ===========================================
API__HOST=0.0.0.0
API__PORT=8000
API__DEBUG=false
# ===========================================
# WebApp Settings
# ===========================================
WEBAPP__URL=https://your-webapp-domain.com