SShortSingh.
Back to feed

Solo founder runs 85 Docker containers for €120/month using 176 custom Bash guards

0
·94 views

A solo developer in Germany operates a SaaS ecosystem serving golf clubs and related platforms, running 85 Docker containers across 67 domains on just two Hetzner servers at €120 per month. Each customer receives a physically isolated PostgreSQL database, a deliberate single-tenant design chosen to simplify GDPR data deletion and eliminate cross-tenant security risks. To manage the complexity, the developer relies on AI agents handling roughly 80% of daily operations, constrained by 176 shell scripts that enforce security and operational rules before any command executes. A cron-based watchdog script runs every five minutes to detect and restore failed containers from their last known good state. The setup demonstrates that rigorous automation and strict guard systems can make large-scale solo infrastructure management viable at low cost.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Kotlin Multiplatform Now Considered Production-Ready, Backed by Google and JetBrains

JetBrains declared Kotlin Multiplatform stable in November 2023, and Google added official Android support for sharing business logic in May 2024. Compose Multiplatform made shared interfaces on iOS stable in May 2025, extending sharing beyond logic to screens. Companies including Netflix, McDonald's, Cash App, Google Docs, Forbes and Autodesk are cited as production users in JetBrains' public case studies. The article argues the framework suits apps where business rules, offline data or payments must be consistent across Android and iOS, while single-platform or screen-heavy products may be better served by native or other approaches.

0
ProgrammingDEV Community ·

Business-Deadline Webhooks: Durable Outbox and Idempotent Retries for SaaS Queues

Delayed webhook reminders should be modeled as durable delivery records with a due time, dispatched through a delayed task queue. The article argues that the queue controls when attempts happen, while the application database controls whether an attempt may change business state. Renewal events and outbox rows are written in one transaction, so committed reminders can be rediscovered after publishing or worker failures. The public HTTPS endpoint must claim each stable delivery ID under a uniqueness constraint, so repeated transport attempts do not repeat business effects. A worked example shows a retry after a dropped response being detected as a duplicate, which is why a simple sent flag is insufficient for reconciliation.

0
ProgrammingDEV Community ·

Spring AI prompt chaining: splitting one LLM task into four small steps

The article argues that breaking an LLM task into a sequence of small prompts is often more reliable than one large prompt, since each step can be tested and debugged on its own. It describes prompt chaining as a fixed, developer-defined workflow, contrasting it with agent-style patterns where the model picks its own next action. The example is a sample project in the spring-ai-examples repository that turns metrics from a quarterly report into a sorted markdown table. The chain uses four system prompts: extracting metric values, normalizing units, sorting numerically, and formatting the result. The author plans to walk through the sample's code and suggest ways to harden it for production use.

0
ProgrammingDEV Community ·

Browser-based file previews can cut down unnecessary downloads

Receiving a folder of files often means downloading each item before inspecting it, a workflow that is not always needed. The article argues that browsers can preview many common formats, including images, video, audio, PDFs, Markdown and code, so recipients can check contents first. Local Bridge, a file-sharing tool, supports this with an embedded viewer that serves files from the sender's machine. Formats such as HTML, SVG and JavaScript are shown as source text rather than executed, reducing security risks, while archives and Word documents remain download-only. The aim is to make downloading a deliberate choice rather than the first step.