Files
infra/mini-pc/telegram-bot-api/docker-compose.yml
T
Dmitry 6c95ad59a7
Deploy mini-pc / deploy (push) Failing after 14s
NixOS switch mini-pc / switch (push) Successful in 12s
Add Telegram Bot API service to mini-pc
2026-05-31 14:20:24 +03:00

24 lines
645 B
YAML

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