30 lines
899 B
Bash
30 lines
899 B
Bash
BOT_TOKEN=your_telegram_bot_token_here
|
|
TELEGRAM_BOT_USERNAME=YourBotUsernameWithoutAt
|
|
|
|
# Recommended with docker-compose network_mode: host
|
|
PROXY_URL=socks5://127.0.0.1:10808
|
|
|
|
# Required for bot → API (POST /api/auth/internal)
|
|
API_TOKEN=change-me-to-a-long-random-string
|
|
|
|
# Bot talks to the C# API (same HTTP contract as before)
|
|
API_BASE_URL=http://127.0.0.1:51291
|
|
|
|
# PostgreSQL (docker-compose service `db`)
|
|
POSTGRES_DB=please_pay_me
|
|
POSTGRES_USER=ppm
|
|
POSTGRES_PASSWORD=ppm
|
|
|
|
# Optional explicit JWT secret (defaults to derived from BOT_TOKEN)
|
|
# JWT_SECRET=change-me-long-random
|
|
|
|
CORS_ORIGINS=*
|
|
|
|
# Yandex ID (authorization code; secret stays on the API)
|
|
YANDEX_CLIENT_ID=
|
|
YANDEX_CLIENT_SECRET=
|
|
YANDEX_REDIRECT_URI=https://please-pay-me.ru/
|
|
PUBLIC_WEB_ORIGIN=https://please-pay-me.ru
|
|
# Optional extra callbacks, comma-separated
|
|
# YANDEX_REDIRECT_URIS=http://localhost:51290/,http://localhost:5173/
|