thebushidocollective avatar

Docker Compose Production

This handles the production deployment side of Docker Compose with a focus on what actually breaks in prod. You get comprehensive templates with health checks, resource limits, logging configs, and security hardening like read-only filesystems and dropped capabilities. It covers the stuff people often skip in development: backup strategies, secrets management, network isolation, and restart policies. The Postgres tuning parameters and Redis persistence settings are opinionated but sensible. Use it when you're moving beyond docker-compose up and need configurations that won't wake you up at 3am. The security configurations are particularly thorough, going beyond the basics into seccomp profiles and proper user permissions.

skills.sh installs
485
GitHub stars
200
last updated
Aug 21, 2026

Install

$ npx -y skills add thebushidocollective/han --skill docker-compose-production --agent claude-code

Installs into .claude/skills of the current project.

Files

Docker Compose Production Deployment

Production-ready Docker Compose configurations with security, reliability, and scalability best practices.

Production-Ready Base Template

A comprehensive production template with essential configurations:

version: '3.8'

services:
  nginx:
    image: nginx:1.25-alpine
    container_name: production-nginx
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
      - ./nginx/ssl:/etc/nginx/ssl:ro
      - nginx-cache:/var/cache/nginx
      - nginx-logs:/var/log/nginx
    networks:
      - frontend
    healthcheck:
      test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"
    deploy:
      resources:
        limits:
          cpus: '1.0'
          memory: 512M
        reservations:
          cpus: '0.5'
          memory: 256M

Sponsors

Details

Repository
github.com/thebushidocollective/han
Categories
Security, DevOps & CI/CD, Mobile Development
First seen
Jun 3, 2026

More from thebushidocollective/han

All 14

Recommended

More Security
1sanjay3290 avatargoogle-sheetssanjay3290/ai-skillsRead and write Google Sheets spreadsheets - get content, update cells, append rows, fetch specific ranges, search for spreadsheets, and view metadata. Use when 479skills.sh installs
2aj-geddes avatarsession-managementaj-geddes/useful-ai-promptsImplement secure session management systems with JWT tokens, session storage, token refresh, logout handling, and CSRF protection. Use when managing user authen466skills.sh installs
3davila7 avatarsenior-secopsdavila7/claude-code-templatesComprehensive SecOps skill for application security, vulnerability management, compliance, and secure development practices. Includes security scanning, vulnera466skills.sh installs
4josiahsiegel avatarbash-masterjosiahsiegel/claude-plugin-marketplaceExpert bash/shell scripting across environments where Bash is available (Linux, macOS, Git Bash on Windows, WSL, containers). This is a Bash-focused skill - it 462skills.sh installs
5aj-geddes avatarsecrets-rotationaj-geddes/useful-ai-promptsImplement automated secrets rotation for API keys, credentials, certificates, and encryption keys. Use when managing secrets lifecycle, compliance requirements,459skills.sh installs
6postman-devrel avatarpostmanpostman-devrel/agent-skillsFull API lifecycle management through Postman. Sync OpenAPI specs to collections, generate typed client code, run API tests, create mock servers, publish docume458skills.sh installs