SShipKit·4d agoRun database migrations before your app starts in Docker Compose with service_completed_successfullyYour app expects its tables to exist by the time it takes its first request, so the migrations have to run first. In Docker Compose you can give that work its own short-lived service: it waits for the7 min read·shipkit.hashnode.dev
Ooctave Nkurunziza·5d agoHow to run a cron job in a Docker container (with logs)Last updated: 5 November 2026 · Applies to Debian-based images (python:3.13-slim, Debian 13 trixie) with Debian cron 3.0pl1, Alpine 3.24, supercronic 0.2.51, Docker Compose v2+ You want a script to ru14 min read·octave.hashnode.dev
Ooctave Nkurunziza·5d agoDocker Compose PostgreSQL environment variables, explainedSet POSTGRES_PASSWORD, USER and DB in Docker Compose the right way: a working .env file, why a new password gets ignored, and how to fix each error.14 min read·octave.hashnode.dev
HHritik ranjan·Nov 9Building a Three-Tier DevOps Learning Tracker on Kubernetes with Minikube — Complete End-to-End GuideFrom Docker Compose to Kubernetes — Architecture, Deployment, Persistent Storage, Real Troubleshooting, Bugs, Fixes, and DevOps Interview Learnings53 min read·blogs.hritikranjan.in
SShipKit·Nov 4depends_on isn't enough: making a Compose app wait until Postgres is actually readyYour app and Postgres start together with docker compose up. Some days the app connects, other days it fails because the database isn't accepting connections yet. Run it again and it may connect. Here6 min read·shipkit.hashnode.dev
Jjabo Landry·Nov 3How to Automate Docker Image Creation for Postgres Using Shell CommandsIf you have certain lines of code that repeat over and over again in a project, there's a pretty standard solution for it: using a function. But what about when you have the same project file setup th17 min read·freecodecamp.org
YYuvraj.R·Nov 3Stop Writing Docker Files Manually! Try Docker Init with a Python Flask AppHave you ever started a project and wondered what to write inside a Dockerfile? What about creating a Docker Compose file and a .dockerignore file from scratch?7 min read·build-break-fix-diaries-with-yuvrajj.hashnode.dev
AAmaresh Pelleti·Nov 3Ollama Docker Setup: GPU, Volumes and ComposeOriginally published on DevToolHub. Running Ollama in a container takes one docker run command. That command also decides two things the docs bury: whether your models survive a rebuild, and whether10 min read·devtoolhub.hashnode.dev
HHritik ranjan·Nov 1🚀 DevTrack: Building a Three-Tier DevOps Learning Tracker with Docker, Flask, MySQL & NginxA beginner-friendly, hands-on DevOps project demonstrating Docker, Docker Compose, container networking, persistent storage, health checks, environment variables, Nginx reverse proxy, CRUD APIs, and real-world troubleshooting.43 min read·blogs.hritikranjan.in11R
YYuvraj.R·Nov 2Dockerfile vs Docker Compose : My MERN Project ExperienceI deployed a MERN application using Docker and Docker Compose. This article covers the key differences and what I learned from both practicals.3 min read·build-break-fix-diaries-with-yuvrajj.hashnode.dev