Urgent.News

600+ sources. One page. See who else covered it.

Editions

Tech

I Run 85 Docker Containers as a Solo Founder. Here's the Bash That Keeps It Alive.

85 containers. 24 PostgreSQL databases. 67 domains. 232 cron jobs. One developer. 120 EUR/month in Hetzner bills. This is not a startup fantasy pitch. This is my production infrastructure for a SaaS ecosystem serving German golf clubs, a golf school management platform, a community platform, a CRM, and an auth service. Every customer gets their own database. Physical tenant isolation, not…

85 Docker containers, 24 PostgreSQL databases, 67 domains, and 232 cron jobs run under the management of a single developer. The entire infrastructure, serving German golf clubs and related services, costs just 120 EUR per month on Hetzner servers. The setup uses Next.js frontends, single-tenant PostgreSQL for each customer, and Docker on bare metal. Coolify handles deployment orchestration, while Traefik serves as the reverse proxy for the 67 domains.

To maintain this complex setup, the developer employs an extensive guard system consisting of 176 shell scripts that monitor every command, file edit, and session end. The system monitors 96% of daily development and operations tasks. When a guard detects a potential issue, it automatically prevents the action from being executed, thereby avoiding potential damage.

The developer also utilizes self-healing watchdog containers to handle failures. If a container disappears or Coolify deployments fail, the watchdog restores the system to its last known good state. This ensures that customers remain unaffected by such issues.

Over time, the system learns from mistakes made by AI agents and converts them into permanent rules. This self-improving mechanism helps refine the guard system and reduces the need for additional manual rule creation. By automating these processes, the developer reduces operational complexity and ensures a secure, reliable infrastructure.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Friday 14 August →