This commit is contained in:
Andrey Kondratev
2025-08-29 10:57:50 +05:00
parent 6bde4bfd4c
commit b483ed71f2
11 changed files with 106 additions and 50 deletions

View File

@@ -0,0 +1,18 @@
# Telegram Bot Token Fix
## Problem
Docker container was showing "⚠️ TELEGRAM_BOT_TOKEN not found or invalid - bot will not start" error despite the token being present in `.env.docker` file.
## Root Cause
The `docker-compose.yml` file was missing the `env_file` configuration to load environment variables from `.env.docker`.
## Solution
Added `env_file: - .env.docker` at the top level of docker-compose.yml to ensure all services load environment variables from the .env.docker file.
## Files Modified
- `docker-compose.yml`: Added env_file configuration
## Token Details
- Token is present in `.env.docker`: `8262100335:AAFUBycadhKwV4oWPtF_Uq3c_R95SfWUElM`
- WEB_APP_URL is configured: `https://quixy.uk`
- Environment variables are properly referenced in services