compose.meta.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Metadata for Docker Compose module
  2. # Provides hints, icons, and descriptions for variables
  3. categories:
  4. general:
  5. icon: "📦"
  6. description: "General container settings"
  7. network:
  8. icon: "🌐"
  9. description: "Network configuration"
  10. tip: "Use external networks for cross-container communication"
  11. traefik:
  12. icon: "🔀"
  13. description: "Reverse proxy and load balancer"
  14. tip: "Automatic SSL certificates with Let's Encrypt"
  15. swarm:
  16. icon: "🐝"
  17. description: "Docker Swarm orchestration"
  18. service_port:
  19. icon: "🔌"
  20. description: "Port mappings"
  21. nginx_dashboard:
  22. icon: "📊"
  23. description: "Nginx monitoring dashboard"
  24. variables:
  25. service_name:
  26. hint: "e.g., webapp, api, database"
  27. validation: "^[a-z][a-z0-9-]*$"
  28. container_name:
  29. hint: "Leave empty to use service name"
  30. description: "Custom container name"
  31. # Network variables
  32. network:
  33. description: "Enable custom network configuration"
  34. network.name:
  35. hint: "e.g., frontend, backend, bridge"
  36. description: "Docker network name"
  37. network.external:
  38. hint: "Use 'true' for existing networks"
  39. tip: "External networks must be created before running"
  40. # Traefik variables
  41. traefik:
  42. description: "Enable Traefik reverse proxy"
  43. tip: "Requires Traefik to be running separately"
  44. traefik.host:
  45. hint: "e.g., app.example.com, api.mydomain.org"
  46. description: "Domain name for your service"
  47. validation: "^[a-z0-9][a-z0-9.-]*[a-z0-9]$"
  48. traefik.tls:
  49. description: "Enable HTTPS/TLS"
  50. tip: "Requires valid domain and DNS configuration"
  51. traefik.certresolver:
  52. hint: "e.g., letsencrypt, staging"
  53. description: "Certificate resolver name"
  54. # Swarm variables
  55. swarm:
  56. description: "Enable Docker Swarm mode"
  57. tip: "Requires Docker Swarm to be initialized"
  58. swarm.replicas:
  59. hint: "Number of container instances"
  60. validation: "^[1-9][0-9]*$"
  61. # Port variables
  62. service_port_http:
  63. hint: "e.g., 8080, 3000, 80"
  64. description: "HTTP port mapping"
  65. validation: "^[1-9][0-9]{0,4}$"
  66. service_port_https:
  67. hint: "e.g., 8443, 3443, 443"
  68. description: "HTTPS port mapping"
  69. validation: "^[1-9][0-9]{0,4}$"
  70. # Nginx dashboard
  71. nginx_dashboard:
  72. description: "Enable Nginx status dashboard"
  73. nginx_dashboard_port_dashboard:
  74. hint: "e.g., 8081, 9090"
  75. description: "Dashboard port"
  76. validation: "^[1-9][0-9]{0,4}$"