Docker

A shop ledger page, 1899. Every line adds up.
How to Migrate a Django App to Google Cloud Run
Move Django to Cloud Run by containerizing the app, externalizing state, configuring identity and database access, and planning migrations.
2 min read
How to Build CI/CD for a Dockerized Python API
Create a CI/CD pipeline that tests a Python API, builds an immutable container image, scans dependencies, and deploys with a rollback path.
2 min read
How to Deploy a FastAPI Application with Docker
Package a FastAPI service in Docker and prepare it for deployment with configuration, health checks, non-root execution, and production server settings.
4 min read
How to Run Long-Running Python Scripts in the Cloud
Choose a suitable runtime for long Python workloads, package the script with Docker, run it as a Cloud Run Job, and handle storage, retries, and logs.
5 min read
Sandboxing Local AI Coding Agents: Containers, VMs and Separate Users
A practical way to limit what a local AI coding agent can touch, comparing containers, virtual machines and separate user accounts, with secrets and a Docker example.
5 min read
Automatic Rollback When a Container Deploy Fails
Tag images by commit SHA, gate each deploy on a healthcheck, remember the previous image, and use a small script that reverts automatically when the new version is unhealthy.
4 min read
Debugging 502 and 404 Errors Behind a Reverse Proxy on a VPS
A systematic way to diagnose 502 Bad Gateway and 404 errors from Nginx in front of a Docker app: listening address, ports, container names, proxy_pass and firewalls.
4 min read
Keeping Postgres Data Across Docker Deploys, with Startup Order and Domain Routing
Use named volumes so a redeploy does not wipe your database, make the app wait for Postgres with a healthcheck, route a domain through Caddy, and keep backups.
4 min read
Is Docker Compose Production-Ready? What It Lacks and How to Cover the Gaps
Docker Compose can run a small production app well, but it needs restart policies, healthchecks, log limits, backups and a clear view of its zero-downtime limits.
4 min read
Deploying Docker Compose to a VPS with GitHub Actions
Build an image in GitHub Actions, push it to a registry, then SSH into a VPS to pull and restart a Docker Compose stack, with secrets handled safely.
4 min read
Deploy Celery Worker, Beat and Flower With Docker Compose Using One Image
Run the Django web app, Celery worker, beat and Flower from a single Docker image with different commands, avoiding four Dockerfiles that drift apart.
4 min read