Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Running Production Infrastructure Solo: 162 Containers Across Three Hosts

说明与用途

三台主机,162个容器,78个Compose堆栈,单一运维者—自动TLS、集中SSO、跨主机监控、已测试备份和自托管CI/CD,使部署可靠且可交付给客户,无需交接基础设施。

问题

A developer who also runs production infrastructure must keep services reachable, backed up, and secure while avoiding split responsibilities that hide server issues from code authors.

结果

Three hosts, 162 containers, 78 compose stacks, one operator—automated TLS, central SSO, cross‑host monitoring, tested backups, and self‑hosted CI/CD enable reliable, client‑ready deployments without handing off infrastructure.

工作流

  • Deploy Traefik on each host with automated ACME TLS
  • Configure authentik as the sole SSO provider
  • Set up Prometheus to scrape metrics from all hosts
  • Create Grafana dashboards for unified monitoring
  • Implement Gitea Action runners for CI/CD
  • Configure snapshot‑based backups on Synology and Duplicati/restic jobs
  • Write a script to query Portainer API for container counts
  • Document all configuration values in compose files
  • Set alerts for missing exporter data
  • Test backup restore procedures

证据

Three hosts, 162 containers, 78 compose stacks, one operator — with automated TLS, central SSO, cross-host monitoring, tested backups and self-hosted CI/CD.

来源

Passbolt, my team password manager, started returning 504s and its cron job appeared to hang. It turned out to be three separate failure modes with one root cause: a configuration value that existed inside the running container but never in the compose file.

来源

Numbers on a CV go stale quietly. Mine are re-derivable: a small script reads the live Docker endpoints through the Portainer API and counts containers and compose stacks per host.

来源

  • 记录日期: 2026-11-01T08:58:53.574Z