Files
infra/mini-pc/telegram-bot-api/docker-compose.yml
T
Dmitry 8dbca5368d
Deploy mini-pc / deploy (push) Successful in 40s
Use host networking for telegram bot API
2026-05-31 15:10:07 +03:00

19 lines
571 B
YAML

services:
telegram-bot-api:
image: aiogram/telegram-bot-api:latest
container_name: telegram-bot-api
hostname: telegram-bot-api
restart: unless-stopped
network_mode: host
env_file:
- .env
environment:
TELEGRAM_HTTP_PORT: "8081"
TELEGRAM_LOCAL: "1"
TELEGRAM_PROXY: http://192.168.1.10:10172
HTTP_PROXY: http://192.168.1.10:10172
HTTPS_PROXY: http://192.168.1.10:10172
NO_PROXY: localhost,127.0.0.1,telegram-bot-api,uptime-kuma
volumes:
- /opt/data/telegram-bot-api:/var/lib/telegram-bot-api