docker-compose-production

Generate a production docker-compose template with reverse-proxy routing labels and TLS termination.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/chris78rey/en_construccion --skill docker-compose-production-chris78rey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-compose-production
Source: https://github.com/chris78rey/en_construccion/tree/main/.opencode/skills/docker-compose-production
Command: npx skills add https://github.com/chris78rey/en_construccion --skill docker-compose-production-chris78rey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a universal, agnostic docker-compose template for production deployments, ensuring containers are routable through a reverse proxy by mandating proper routing labels and best practices.

Core Features & Use Cases

  • Agnostic production wiring: Standardizes networking, healthchecks, and labels across environments so proxies can route traffic reliably.
  • Routing and TLS by design: Includes Traefik/Nginx-like label patterns to expose services securely and automatically handle HTTPS termination.
  • Deterministic, auditable deployments: Forces fixed image versions, externalized configuration, and proper volume and network isolation for reproducible runs.

Quick Start

Use the docker-compose-production skill to scaffold a production-ready setup with a sample frontend and API behind a proxy.

Frequently Asked Questions about docker-compose-production

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

FAQPage Schema
How do I configure docker-compose for production with secure TLS termination?

To configure docker-compose for production with secure TLS termination, you need a reverse proxy setup with proper routing labels. This Skill scaffolds that environment by enforcing deterministic images, healthchecks, and isolated networks to handle HTTPS termination reliably.

What is the best way to route traffic to containers behind a Traefik proxy?

Routing traffic to containers behind a Traefik proxy requires standardized routing labels and network isolation. This Skill provides a production-focused docker-compose template that includes Traefik-like label patterns to expose services securely and ensure reliable traffic routing.

Can I use this docker-compose template with a reverse proxy other than Traefik?

Yes, you can use this docker-compose template with other proxies. It provides agnostic production wiring with Nginx-like label patterns, ensuring containers remain routable through your chosen reverse proxy while maintaining standard networking and healthchecks.

Why does my production docker-compose deployment fail health checks?

Production docker-compose deployments fail health checks when missing proper configuration and isolated networks. This Skill resolves this by mandating healthchecks, externalized configuration, and deterministic image versions to ensure reproducible and reliable runs.

How do I ensure deterministic and reproducible docker-compose deployments?

Ensuring deterministic docker-compose deployments requires fixed image versions and externalized configuration. This Skill enforces these best practices along with proper volume and network isolation, generating auditable templates for reproducible production runs.