Infrastructure & Deployment¶
The portfolio's deployment baseline is Docker Compose on a self-hosted IONOS VPS, fronted by nginx. 24 of the 28 products run production that way. The exceptions are desktop-first products that ship as binaries (Go Green Transit, GoGreen Seller AI, Jarvis, which has no server deployment at all), and AutoDiag AI (a Compose file plus Kubernetes/Helm but no deploy workflow).
The baseline stack¶
For the typical app, docker-compose.yml defines:
nginx (reverse proxy, port 80/443 → app; host-level and/or in a container)
app (node:20 / node:22-alpine, Python 3.12, or PHP 8.3)
db (Postgres 15/16/17 with or without pgvector, or MySQL / MariaDB)
redis (redis:7-alpine, optional)
worker (BullMQ / Celery / arq / pg-boss, optional)
minio (object storage, on document / media apps)
Host ports are chosen per product and differ (for example GameTrakker 8122, Workflow Hub API 8091, APEX 8090, PoligoPro 8610, HouseKey 8200/8201/8202/8280, SuperCabs web 4321 + realtime 4322, Go Green Transit API 3300). Check the product's compose file before binding a port. Internal services bind to their usual ports (3000, 3001, 5432, 6379) inside the bridge network.
Docker¶
What it is. Containerization — package an app + its OS deps into an image, run it isolated.
Patterns across the portfolio:
- Multi-stage builds. Build stage → slim/alpine runner. Cuts production image size 5–10×.
- .dockerignore to exclude node_modules, .git, .env, build artifacts.
- Health checks in docker-compose.yml: curl/wget /healthz for app services, SQL readiness probes for DBs.
- Restart policy: unless-stopped (auto-restart on crash, stay down if explicitly stopped).
- Volumes for DB data and MinIO. node_modules is typically NOT volume-mounted in prod (rebuilt on every image).
- Custom bridge network per app — services find each other by service name, not IP.
Base images seen:
- Node: node:20, node:20-slim (Tutor AI), node:20-alpine (GGPI website), node:22-alpine (GoGreen Verify, GameTrakker).
- Python: 3.12 (DOC-AI; AutoDiag AI requires >=3.12).
- PHP: 8.3 (VotigoPro); php:8.2-fpm built from docker/php/Dockerfile (Maximus Pet Store, Pecos River Traders).
- Reverse proxy: nginx:alpine, nginx:1.25-alpine (SmartForms), nginx:1.30.5-alpine (DOC-AI); nginx:alpine also fronts Tutor AI (8091/8092), Maximus Pet Store (8400/8401), and Pecos River Traders (8300/8301).
- Postgres + pgvector: pgvector/pgvector:pg15 (Toolbelt Handyman, APEX, Recruiting AI, PoligoPro, Tutor AI; Verify pins 0.8.7-pg15); pg16 (Sourcing AI, Marketing AI, GGPI website, Seller AI, Jarvis (Tauri) dev compose); pg17 (Workflow Hub).
- Other Postgres: postgis/postgis:16-3.4 (SuperCabs), postgres:16-alpine (BidIt, AI Concierge, SmartForms, AutoDiag AI), postgres:15-alpine (Sell Me A Pen), postgres:16 (GameTrakker).
- MySQL family: mysql:8.0 (HouseKey, Maximus Pet Store, Pecos River Traders), mariadb:10.4 (VotigoPro — its CLAUDE.md and CI say MySQL 8.0, but the compose file says MariaDB 10.4).
- Cache / queue: redis:7-alpine (including Tutor AI).
- Vector / graph / search: Qdrant (AI Concierge 1.12.5, DOC-AI 1.17.1 in prod), Neo4j (OpenSentinel, AutoDiag AI), Meilisearch (BidIt).
- Storage: quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z (Workflow Hub, Marketing AI, SmartForms; DOC-AI uses a ghcr.io/dsiemon2/minio mirror). That image can no longer be pulled from the registry, so it is preserved as GitHub release assets and a VPS backup tarball.
Kubernetes (Helm)¶
What it is. Container orchestration — declarative Deployments, Services, Ingress, and autoscaling across a cluster.
Used in (real manifests / charts): OpenSentinel (helm/), Workflow Hub (infrastructure/k8s), DOC-AI (k8s manifests), SuperCabs (deploy/helm), GoGreen Seller AI (k8s/), and AutoDiag AI (k8s + Helm) — 6 products ship Kubernetes manifests or charts.
Relationship to the baseline. The deploy workflows still target Docker Compose on the VPS. The manifests are the path for multi-replica scaling if a product outgrows a single host; both patterns coexist.
nginx¶
What it is. Reverse proxy, web server, SSL terminator. Routes incoming requests by host or path to the right backend container.
Used in: host-level nginx on the VPS fronts the Compose stacks; container nginx also appears inside Toolbelt Handyman, Tutor AI, AI Concierge, SmartForms, DOC-AI, Sell Me A Pen, APEX, Recruiting AI, VotigoPro, Maximus Pet Store, Pecos River Traders, OpenSentinel, HouseKey and the GGPI website (nginx + Node in one image serving the prerendered Vite SPA).
Common patterns:
- WebSocket upgrade headers for Socket.IO / ws apps.
- Static-asset caching with expires headers.
- Let's Encrypt / Certbot for TLS — cron-renewed.
- 301 redirects for retired routes (GGPI keeps them in nginx.conf).
The user's nginx note (per global CLAUDE.md): Never use sed on nginx via SSH. Use scp'd Python scripts to edit nginx configs — the escaping issues are well-documented in their feedback_nginx_escaping.md memory.
Caddy / Traefik / Apache (not used)¶
Caddy and Traefik are popular nginx alternatives. Traefik shines with auto-discovery in Docker (labels-based config). The portfolio chose nginx for familiarity. Not used in any of the 28 products.
IONOS VPS¶
The production host: 74.208.129.33. SSH key auth as root. Locations of note (per user's global rules):
- Nginx config:
/etc/nginx/sites-available/gogreen-verify - WordPress:
/var/www/html/Wordpress/ - PHP 8.3-fpm, MariaDB, WP-CLI installed.
Process supervision is Docker, not systemd or PM2, with two exceptions: Go Green Transit's API runs under systemd + nginx (no Docker, /opt/gogreentransit-api, 127.0.0.1:3300, SQLite), and GoGreen Verify also ships a PM2 ecosystem.config.cjs + deploy.sh. restart: unless-stopped handles crash-recovery for the Compose stacks.
TLS: Let's Encrypt via Certbot. Auto-renewed via cron.
Hosting alternatives present in the portfolio¶
| Platform | Used for |
|---|---|
| IONOS VPS (Docker Compose) | 24 products: Toolbelt Handyman, Tutor AI, SuperCabs, BidIt, Workflow Hub, Sourcing AI, DOC-AI, Marketing AI, GoGreen Verify, GameTrakker, Do Me A Ditty, Writers Room, OpenSentinel, GGPI website, AI Concierge, SmartForms, Sell Me A Pen, APEX, Recruiting AI, PoligoPro, VotigoPro, HouseKey, Maximus Pet Store, Pecos River Traders |
| IONOS VPS (systemd + nginx) | Go Green Transit API |
| Tauri binary | Marketing AI, GoGreen Verify, Go Green Transit, AutoDiag AI, Recruiting AI, Jarvis (6) |
| Electron binary | GoGreen Seller AI, OpenSentinel, Jarvis (3) |
| Expo / EAS mobile | SuperCabs, GoGreen Verify, GameTrakker, AutoDiag AI, SmartForms, APEX, Recruiting AI, VotigoPro, HouseKey, GGPI website |
| Capacitor | BidIt, AI Concierge (plus GGPI packages and AutoDiag AI's mobile-web) |
| Vercel / Netlify | None found in the repos |
| Object storage | Cloudflare R2: BidIt, Seller AI, and SuperCabs (referenced); MinIO elsewhere |
Orchestration is a two-tier model: Docker Compose on the IONOS VPS is the default; 6 products also ship Kubernetes / Helm artifacts (see above). No AWS ECS / Fargate or Cloud Run.
Build & dev tools¶
| Tool | Used |
|---|---|
| npm | Most single-package apps |
| pnpm | SuperCabs (9.12 + Turborepo), Workflow Hub (9.15 + Turborepo), AI Concierge (monorepos) |
| bun | OpenSentinel (runtime, not just package mgr) |
| Composer (PHP) | VotigoPro, Maximus Pet Store, Pecos River Traders |
| pip / Alembic / pyproject | DOC-AI, SmartForms, AutoDiag AI |
| cargo | Tauri shells (Marketing AI, Verify, Go Green Transit, AutoDiag AI, Recruiting AI, Jarvis) |
| Go modules | Marketing AI (Go 1.24) |
Turborepo is used in SuperCabs and Workflow Hub; no Nx or Lerna.
Deploy scripts: infra/deploy.sh (Marketing AI), deploy-nodejs.sh (Sell Me A Pen), deploy.sh (GoGreen Verify). Otherwise npm scripts and the GitHub Actions deploy.yml do the work. Make / Just / Taskfile are not used.
Cloudflare / CDN¶
Status: no app config shows Cloudflare proxying or a CDN in front of the sites. Cloudflare appears only as R2 object storage (BidIt, Seller AI, SuperCabs).
Domain & DNS¶
DNS is managed at the registrar / provider level and is not described in any repo config, so the provider varies by domain. The portfolio reference memory tracks a per-app domain-to-app mapping.
Secrets management¶
Approach: .env files at the project root, gitignored. .env.example checked in as the schema. The master file New_API_Keys_and_Secrets_Master.md is the source of truth for which keys belong to which app.
At deploy time: GitHub Secrets rewrite .env on the server (GGPI website, SuperCabs, Sourcing AI, GameTrakker). AI Concierge decrypts its env from a sops+age vault; BidIt keeps integration keys in the database; GoGreen Verify has a credential-rotation.yml workflow.
Not used: AWS Secrets Manager, HashiCorp Vault, Doppler, Infisical, 1Password Secrets Automation.
Comparison alternatives (not used)¶
| Pattern | Notes |
|---|---|
| Serverless (Vercel Functions / Lambda / Cloud Run) | Doesn't fit the always-on Postgres + Redis + queue worker model. |
| Render / Railway / Fly.io | "PaaS-on-Docker." Self-hosted IONOS is cheaper at portfolio scale. |
| Docker Swarm | Light-weight orchestration. Compose is enough. |
| Nomad | Same. |
| Terraform / Ansible / Pulumi | IaC. Manual deploy is the current model — feasible because there's only one production host. |
Decision guide¶
New web app, going to production? Dockerfile + docker-compose.yml + nginx + IONOS.
Need a TLS cert? Certbot, cron-renewed.
Need scheduled jobs? BullMQ repeatable jobs, arq (DOC-AI), Celery (SmartForms), pg-boss (Seller AI),
in-process setInterval (GGPI website), or an HTTP cron endpoint hit by the VPS
crontab (GameTrakker, PoligoPro). No cron container.
Static marketing site, no auth? Static HTML behind nginx (Go Green Transit landing); GGPI is a Vite SPA
prerendered at build and served by nginx.
Desktop app distribution? Tauri (small) or Electron (familiar).
Simple product / single host? Docker Compose on the IONOS VPS (the default).
Needs multi-replica scaling / HPA? Kubernetes + Helm (6 products ship manifests).
What lives where (mental map)¶
74.208.129.33 (IONOS VPS)
├── nginx (host-level)
│ ├── /etc/nginx/sites-available/* (per-app vhost)
│ └── Let's Encrypt cron
├── /var/www/html/Wordpress/ (legacy WordPress)
├── /opt/supercabrides, /opt/gametrakker, /opt/gogreentransit-api (per-app dirs)
└── /home/deploy/apps/<app>/ (Compose stacks: Sell Me A Pen, PoligoPro, HouseKey, VotigoPro, GGPI website, ...)
├── docker-compose.yml
├── .env
└── data volumes (postgres, redis, minio)