Files
LawBot/bot/.env.example
T
2026-05-25 01:12:43 +03:00

30 lines
844 B
Bash

# Telegram bot token from @BotFather
TOKEN=123456789:replace_me
# Optional proxy for Telegram Bot API.
# Leave empty if you connect directly.
# Format: protocol(http/socks5):ip:port:user:pass
TELEGRAM_BOT_PROXY=
# Telegram user id that will have admin access in the bot
BASE_ADMIN=000000000
# URL of the FastAPI service.
# Inside docker compose use the internal service name.
RAG_API_URL=http://api:8080
# Redis connection for FSM/storage.
# Inside docker compose use the internal service name.
REDIS_URL=redis://redisdb:6379/0
# Postgres connection used by the shared DB layer.
# Inside docker compose use the internal service name.
POSTGRES_DB=law_bot_db
POSTGRES_USER=lawbot_user
POSTGRES_PASSWORD=change_me
POSTGRES_HOST=postgredb
POSTGRES_PORT=5432
# All user-facing dates and times are shown in this timezone
TIMEZONE=Europe/Moscow