docker-dev-stack

Manage Docker Compose development stacks with postgres, redis, Django backend, and Next.js frontend.

Updated May 11, 2026
One-click install
npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill docker-dev-stack-thachrocky12345
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-dev-stack
Source: https://github.com/thachrocky12345/local-agent-train-workstation/tree/main/.claude/skills/docker-dev-stack
Command: npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill docker-dev-stack-thachrocky12345

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers waste time remembering Docker Compose commands, container names, and platform-specific quirks when managing a multi-service local development stack. This Skill provides the exact commands and known fixes for operating the postgres, redis, Django backend, rqworker, and Next.js frontend containers. ## Core Features & Use Cases - Stack Lifecycle Management: Start, stop, rebuild, and fully reset the Docker Compose stack with or without volume destruction. - Container Operations: Check logs, open Django shells, run migrations, and load fixtures inside the backend container. - Troubleshooting Knowledge: Built-in fixes for Node IPv4/IPv6 mismatches, shell line-ending issues, and loaddata failures with auto_now_add fields. - Use Case: After pulling new code, ask to rebuild the stack and run migrations, and the correct docker compose and manage.py commands execute with the proper Windows path-conversion prefix. ## Quick Start Ask the assistant to start the Docker development stack in the background and show the backend logs.

Frequently Asked Questions about docker-dev-stack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a Docker Compose development stack in the background?

Run docker compose up -d from the directory containing docker-compose.yml to start all services detached. Use docker compose up --build instead when code changes require rebuilding the images.

How do I run Django management commands inside a Docker container?

Use docker exec with the backend container name followed by python manage.py and the command, such as migrate or shell. On Windows Git Bash, prefix the command with MSYS_NO_PATHCONV=1 so paths like /app/ are not mangled.

Why does docker exec fail with path errors on Windows Git Bash?

Git Bash automatically converts Unix-style paths like /app/ into Windows paths, breaking commands inside containers. Setting MSYS_NO_PATHCONV=1 before docker exec disables this path conversion.

Why does loaddata fail with null created_at errors in Django?

The loaddata command uses raw=True, which bypasses auto_now and auto_now_add field population, causing null constraint violations. Use ORM-based management commands instead of fixtures for models with those fields.

Why does my Node.js container get ECONNREFUSED 127.0.0.1 errors?

Node 18 resolves localhost to IPv6 first, causing connection refusals when services listen on IPv4. Set NODE_OPTIONS=--dns-result-order=ipv4first in docker-compose.yml to force IPv4 resolution.

How do I fully reset a Docker Compose stack including database data?

Run docker compose down -v to stop containers and delete named volumes, wiping the postgres database. Use plain docker compose down to keep volumes and preserve data between restarts.