Skip to main content

Project Overview

This is a Docker containerization toolkit designed for development teams, providing a unified local development environment. Through pre-configured Compose templates and automation scripts, it reduces the classic “works on my machine” problem.
PrerequisitesThis toolkit requires Docker Engine 24+ and Docker Compose v2. Please ensure the correct versions are installed on your machine.

Features

  • One-command startup for a complete development environment
  • Multi-service docker-compose templates
  • Environment variable management (automatic .env template generation)
  • Automated health checks and restart policies
  • Separate configuration files for development / testing / production environments

Quick Start

  1. Clone the project
    git clone https://github.com/example/docker-toolkit.git
    cd docker-toolkit
    
  2. Initialize environment variables
    cp .env.example .env
    
  3. Start services
    docker compose up -d
    
  4. Verify service status
    docker compose ps
    

Environment Configuration

# docker-compose.dev.yml
services:
  app:
    build:
      context: .
      target: development
    volumes:
      - .:/app
      - /app/node_modules
    ports:
      - "3000:3000"
    environment:
      - NODE_ENV=development

Project Structure

  • docker-toolkit/
    • docker-compose.yml
    • docker-compose.dev.yml
    • docker-compose.prod.yml
    • .env.example
    • scripts/
      • init.sh
      • health-check.sh
      • backup.sh
    • templates/
      • nginx.conf
      • Dockerfile.node
      • Dockerfile.python
  • Felimet Hub Website — One of the projects containerized and deployed using this toolkit
  • Docker Guide — Notes on Docker fundamentals and common commands
  • Kubernetes Primer — Advanced container orchestration knowledge, used alongside this toolkit