Newer
Older
gnexus-book / 10-systems / hosts / tgbots.md

title: VPS tgbots type: host ip: 192.168.1.178 purpose: Hosting Telegram bots owner: gmikcon status: active confidence: 100 last_reviewed: 2026-09-22 review_interval: 90d

source_of_truth: user_explicit

VPS tgbots

Do not confuse with VM tgbots-vm (192.168.1.254, hostname tgbots, GNtranscribe + MardisBot + MardisOpsBot) — see 10-systems/hosts/tgbots-vm.md. The Telegram bots live THERE, not on this host (confirmed 2026-09-22).

Overview

This VPS is dedicated to hosting various Telegram bots.

2026-09-10 audit: an exhaustive read-only search found no Telegram bot currently running or installed on this host (no bot processes, systemd units, containers, cron jobs, tmux/screen sessions, project directories, or bot tokens anywhere on the filesystem). See 10-systems/bots/mardisbot.md. The host was rebuilt around 2026-08-27; only the marginator stack was redeployed.

Technical Details

  • Local IP: 192.168.1.178
  • OS: Ubuntu
  • User: ubuntu
  • Purpose: Bot hosting
  • Hostname: vmk (verified via SSH 2026-06-05)
  • Credentials: gnexus-creds secret "tgbots" (id 5d8d7470-6303-46c1-8874-539cfbc49dd9); sudo uses the same password

Deployed stack (~/marginator, docker-compose)

  • marginator-backend-1 — image vlad121/marginator-backend:v2
  • marginator-db-1 — postgres:15-alpine (volume postgres_data)
  • marginator-caddy-1 — caddy:latest (reverse proxy, Caddyfile in ~/marginator)
  • All containers observed Up 12 days on 2026-06-05.
  • Backups present in ~/marginator: marginator_db_20260828_122808.sql, marginator.zip, docker-compose.yml.bak.20260828_114229

2026-09-10 bot audit (read-only, no changes made)

  • Processes: no bot-like processes; only system daemons, postgres, and the marginator gunicorn (port 5001).
  • systemd: only marginator.service; mardisbot.service does not exist and has no journal history.
  • Docker: only the three marginator containers (all Up); no bot containers or images; only compose file is ~/marginator/docker-compose.yml.
  • Cron: no user crontabs, no bot entries in /etc/cron*.
  • tmux/screen: no sessions for ubuntu or root.
  • Filesystem token search (bot[0-9]{6,10}:... pattern) over /home /opt /srv /etc /usr/local /var: zero matches.
  • Listening ports: 22 (sshd), 443/8080 (caddy), 5001 (marginator backend), 53 (systemd-resolved), 46831 (containerd). No bot listener.
  • No outbound connections to Telegram API IP ranges (149.154.x, 91.108.x).
  • No python-telegram-bot/aiogram/telebot/pyrogram packages on host or in the marginator backend container; no telegram mentions in apt history.
  • Host rebuilt ~2026-08-27 (system dirs re-created Aug 27 08:20–08:39, uptime 12 days at audit time).