-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (23 loc) · 863 Bytes
/
.env.example
File metadata and controls
32 lines (23 loc) · 863 Bytes
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
########################################
# Backend and Frontend Environment
########################################
# MongoDB connection settings
MONGODB_URL=mongodb://mongodb:27017
DATABASE_NAME=longreader
# Public API URL used by the frontend
NEXT_PUBLIC_API_URL=http://backend:8000
# Optional service limits
DAILY_ARTICLE_LIMIT=10
########################################
# Telegram Bot Configuration
########################################
# Environment: "prod" or "test"
TELEGRAM_BOT_ENVIRONMENT=test
# Bot API token (obtain from BotFather)
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN
# Bot username (without @)
TELEGRAM_BOT_USERNAME=longreader_bot
# Mini app name in bot menu (e.g., reader_test for test, LongreaderApp for prod)
TELEGRAM_APP_NAME=reader_test
# Link to the mini app (public URL)
TELEGRAM_MINI_APP_LINK=https://path.to.frontend.com