Add Telegram Bot API service to mini-pc
Deploy mini-pc / deploy (push) Failing after 14s
NixOS switch mini-pc / switch (push) Successful in 12s

This commit is contained in:
Dmitry
2026-05-31 14:20:24 +03:00
parent c21e2b175c
commit 6c95ad59a7
4 changed files with 33 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
TELEGRAM_API_ID=123456
TELEGRAM_API_HASH=changeme
@@ -0,0 +1,23 @@
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
+7 -1
View File
@@ -10,4 +10,10 @@ services:
TZ: Europe/Moscow
volumes:
- /opt/data/uptime-kuma:/app/data
networks: {}
networks:
- default
- telegram-bot-api
networks:
default:
telegram-bot-api:
external: true
+1
View File
@@ -40,6 +40,7 @@
"d /opt/data/adguard/work 0755 ada users - -"
"d /opt/data/caddy 0755 ada users - -"
"d /opt/data/gitea-runner 0755 ada users - -"
"d /opt/data/telegram-bot-api 0755 ada users - -"
"d /opt/data/uptime-kuma 0755 ada users - -"
"d /opt/data/vaultwarden 0755 ada users - -"
"d /opt/data/zerotier 0755 ada users - -"