validate-traefik-labels

Validate Traefik labels in docker-compose configurations for routing, TLS, and redirects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill validates Traefik-related labels in docker-compose configurations to ensure correct routing, TLS, and redirects.

Core Features & Use Cases

  • Label Validation: Confirm Traefik enable and router/middleware labels follow consistent {stack}-{service} prefixes.
  • TLS & Redirects: Verify websecure entrypoints and certresolver, plus HTTP→HTTPS redirects.
  • Port & Network Hygiene: Ensure correct expose/port mapping and external coolify network usage.
  • Use Case: Auditing a docker-compose.yml before deployment to Coolify to prevent misconfigurations.

Quick Start

Run this skill against your docker-compose.yml to validate Traefik labels and routing configuration.

Frequently Asked Questions about validate-traefik-labels

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

FAQPage Schema
How do I validate Traefik labels in a docker-compose configuration?

To validate Traefik labels in a docker-compose configuration, run this skill against your file to check routing, TLS, and HTTP-to-HTTPS redirects. It audits label naming conventions and enforces mandatory label presence across public web services.

What Traefik label naming conventions are required for routing and TLS?

Required Traefik label naming conventions must use consistent {stack}-{service} prefixes for routers and middlewares. This skill verifies websecure entrypoints, proper certresolver setup, and mandatory label presence to ensure correct TLS configuration.

How do I enforce HTTP to HTTPS redirects in Traefik labels?

To enforce HTTP to HTTPS redirects in Traefik labels, this skill validates your docker-compose setup to confirm redirect rules are correctly applied. It ensures websecure entrypoints and TLS certresolvers are properly configured for public web services.

Does this Traefik validation skill check port exposure and external networks?

Yes, this Traefik validation skill checks port exposure and external networks. It ensures correct expose and port mapping consistency, verifies network placement, and enforces the usage of external coolify networks across your docker-compose stacks.

Can I audit a docker-compose file before deploying to Coolify?

Yes, you can audit a docker-compose file before deploying to Coolify. This skill validates Traefik labels to prevent misconfigurations, ensuring correct routing, TLS setup, port mapping, and external coolify network usage prior to deployment.