template.yaml.backup 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ---
  2. kind: compose
  3. metadata:
  4. name: Komodo
  5. description: |
  6. Build and deployment automation tool for managing software across multiple servers. Komodo provides
  7. unlimited server connections, flexible API access, and comprehensive management of Docker deployments,
  8. stacks, and builds. Features include real-time container monitoring, batch operations, and integration
  9. with Docker, Docker Compose, and build systems. Supports both MongoDB and FerretDB as database backends.
  10. ## Important Notes
  11. * Requires MongoDB or FerretDB for data storage (database not included in this template)
  12. * Requires Periphery agent on managed servers for remote operations
  13. * Web interface and API accessible through configured ports
  14. ## References
  15. * **Project:** https://github.com/moghtech/komodo
  16. * **Documentation:** https://github.com/moghtech/komodo/tree/main/docsite/docs
  17. * **Docker Hub:** https://hub.docker.com/r/moghtech/komodo
  18. version: latest
  19. author: Christian Lempa
  20. date: '2025-11-13'
  21. tags:
  22. - traefik
  23. - swarm
  24. - deployment
  25. - automation
  26. spec:
  27. general:
  28. vars:
  29. service_name:
  30. default: "komodo"
  31. container_name:
  32. default: "komodo"
  33. container_hostname:
  34. default: "komodo"
  35. traefik:
  36. vars:
  37. traefik_host:
  38. default: "komodo"
  39. network:
  40. vars:
  41. network_name:
  42. default: "komodo_network"
  43. ports:
  44. vars:
  45. ports_http:
  46. description: "External HTTP port (web interface and API)"
  47. type: int
  48. default: 9120
  49. needs: ["traefik_enabled=false", "network_mode=bridge"]
  50. volume:
  51. vars:
  52. volume_mount_path:
  53. default: "/mnt/storage/komodo"
  54. environment:
  55. title: "Environment Variables"
  56. toggle: environment_enabled
  57. required: true
  58. vars:
  59. environment_enabled:
  60. type: bool
  61. default: true
  62. description: "Configure environment variables (required)"
  63. environment_database_address:
  64. type: str
  65. default: "mongodb://mongo:27017"
  66. description: "Database connection address (MongoDB or FerretDB)"
  67. needs: "environment_enabled=true"
  68. environment_database_name:
  69. type: str
  70. default: "komodo"
  71. description: "Database name"
  72. needs: "environment_enabled=true"
  73. environment_database_username:
  74. type: str
  75. default: ""
  76. description: "Database username (optional)"
  77. needs: "environment_enabled=true"
  78. environment_database_password:
  79. type: secret
  80. default: ""
  81. description: "Database password (optional)"
  82. needs: "environment_enabled=true"
  83. environment_jwt_secret:
  84. type: secret
  85. default: ""
  86. config:
  87. autogenerated: true
  88. description: "JWT secret for authentication (auto-generated if empty)"
  89. needs: "environment_enabled=true"
  90. environment_log_level:
  91. type: enum
  92. default: "info"
  93. config:
  94. options: ["debug", "info", "warn", "error"]
  95. description: "Log level"
  96. needs: "environment_enabled=true"