From 8dbca5368d1c4e877f335b7cf362ef400c1789ee Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 31 May 2026 15:10:07 +0300 Subject: [PATCH] Use host networking for telegram bot API --- mini-pc/telegram-bot-api/docker-compose.yml | 9 +-------- mini-pc/uptime-kuma/docker-compose.yml | 8 +------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/mini-pc/telegram-bot-api/docker-compose.yml b/mini-pc/telegram-bot-api/docker-compose.yml index 6fbb43f..7c97a28 100644 --- a/mini-pc/telegram-bot-api/docker-compose.yml +++ b/mini-pc/telegram-bot-api/docker-compose.yml @@ -4,6 +4,7 @@ services: container_name: telegram-bot-api hostname: telegram-bot-api restart: unless-stopped + network_mode: host env_file: - .env environment: @@ -13,13 +14,5 @@ services: 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 - ports: - - "8081:8081" volumes: - /opt/data/telegram-bot-api:/var/lib/telegram-bot-api - networks: - - telegram-bot-api - -networks: - telegram-bot-api: - name: telegram-bot-api diff --git a/mini-pc/uptime-kuma/docker-compose.yml b/mini-pc/uptime-kuma/docker-compose.yml index 5ad0f84..55b892c 100644 --- a/mini-pc/uptime-kuma/docker-compose.yml +++ b/mini-pc/uptime-kuma/docker-compose.yml @@ -10,10 +10,4 @@ services: TZ: Europe/Moscow volumes: - /opt/data/uptime-kuma:/app/data - networks: - - default - - telegram-bot-api -networks: - default: - telegram-bot-api: - external: true +networks: {}