What this service does
Receives Telegram updates via HTTPS webhook, validates payloads, stores users in PostgreSQL, checks access by allowed Telegram IDs, and responds to commands without dragging in a heavy framework.
A compact production stack with PHP 8.2, nginx, php-fpm, PostgreSQL and a Telegram webhook endpoint. Built to stay neat on a VPS, answer fast, and look like an actual product instead of a dead placeholder.
Receives Telegram updates via HTTPS webhook, validates payloads, stores users in PostgreSQL, checks access by allowed Telegram IDs, and responds to commands without dragging in a heavy framework.
nginx serves the site, php-fpm runs the app, PostgreSQL stores Telegram users, and Docker Compose keeps the stack repeatable. The main page stays sharp, while the webhook endpoint remains strict and purpose-built.