Files
trading_bot_v4/docker-compose.telegram-bot.yml
mindesbunister 9808d52d3f Fix Telegram bot environment configuration
- Updated .env with correct TELEGRAM_BOT_TOKEN and N8N_WEBHOOK_URL
- Added env_file directive to docker-compose.telegram-bot.yml
- Telegram bot now starts successfully with /validate command working
2025-10-27 19:31:06 +01:00

27 lines
619 B
YAML

version: '3.3'
services:
telegram-trade-bot:
build:
context: .
dockerfile: Dockerfile.telegram-bot
container_name: telegram-trade-bot
restart: unless-stopped
env_file:
- .env.telegram-bot
dns:
- 8.8.8.8
- 8.8.4.4
environment:
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- N8N_WEBHOOK_URL=${N8N_WEBHOOK_URL}
- TELEGRAM_CHAT_ID=579304651
- TRADING_BOT_URL=${TRADING_BOT_URL:-http://trading-bot-v4:3000}
- API_SECRET_KEY=${API_SECRET_KEY}
networks:
- traderv4_trading-net
networks:
traderv4_trading-net:
external: true