template.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. kind: compose
  3. schema: "1.2"
  4. metadata:
  5. name: Nextcloud
  6. description: >
  7. Self-hosted file sync and share platform. Nextcloud is a suite of client-server
  8. software for creating and using file hosting services. It provides functionality
  9. similar to Dropbox, with the added benefit of being self-hosted and open-source.
  10. Project: https://nextcloud.com/
  11. Documentation: https://docs.nextcloud.com/
  12. GitHub: https://github.com/nextcloud/server
  13. icon:
  14. provider: selfh
  15. id: nextcloud
  16. version: 31.0.11-apache
  17. author: Christian Lempa
  18. date: '2025-12-11'
  19. tags:
  20. - traefik
  21. draft: true
  22. spec:
  23. database:
  24. required: true
  25. vars:
  26. database_type:
  27. description: "Database type (Nextcloud supports PostgreSQL or MySQL/MariaDB)"
  28. type: enum
  29. options: ["postgres", "mysql"]
  30. default: "postgres"
  31. network:
  32. vars:
  33. network_macvlan_ipv4_address_db:
  34. description: "Static IP address for database container (macvlan only)"
  35. type: str
  36. default: "192.168.1.252"
  37. needs: "network_mode=macvlan"
  38. ports:
  39. vars:
  40. ports_http:
  41. description: "Host port for HTTP"
  42. type: int
  43. default: 80
  44. nextcloud:
  45. description: "Configure Nextcloud application settings"
  46. vars:
  47. admin_user:
  48. description: "Nextcloud admin username"
  49. type: str
  50. default: "admin"
  51. admin_password:
  52. description: "Nextcloud admin password"
  53. type: str
  54. sensitive: true
  55. autogenerated: true
  56. default: ""