Docker Compose Utils

Configuring, spinning up, and orchestrating multi-container local runtime environments with Docker Compose.

Lord1Egypt Updated 2 repo stars

File contents

Docker Compose Utils

Overview

Docker Compose is a tool for defining and running multi-container Docker applications using YAML declarations.

When to Use This Skill

Use to set up a unified local environment consisting of a Flask app, a Postgres db, and a Redis cache.

Quick Start (with runnable code examples)

# docker-compose.yml configuration
version: '3.8'
services:
  web:
    build: .
    ports:
      - "5000:5000"
    depends_on:
      - redis
  redis:
    image: "redis:alpine"

Advanced Usage

Manage container network bridges, set up volume mount syncs, pass environment variable files, and handle healthcheck definitions.

Key References

Dependencies

  • Docker Compose CLI

Lord1Egypt/ai-skillforge/tree/main/skills/gemini/docker-compose-utils commit 9eb23c27fb

Frequently asked questions

npx skillmds@latest add lord1egypt/docker-compose-utils