template.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. kind: compose
  3. metadata:
  4. name: Nextcloud
  5. description: >
  6. Self-hosted file sync and share platform. Nextcloud is a suite of client-server
  7. software for creating and using file hosting services. It provides functionality
  8. similar to Dropbox, with the added benefit of being self-hosted and open-source.
  9. Project: https://nextcloud.com/
  10. Documentation: https://docs.nextcloud.com/
  11. GitHub: https://github.com/nextcloud/server
  12. icon:
  13. provider: selfh
  14. id: nextcloud
  15. version: 32.0.3-apache
  16. author: Christian Lempa
  17. date: '2025-12-12'
  18. tags:
  19. - traefik
  20. draft: true
  21. spec:
  22. database:
  23. required: true
  24. vars:
  25. database_type:
  26. description: "Database type (Nextcloud supports PostgreSQL or MySQL/MariaDB)"
  27. type: enum
  28. config:
  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: secret
  54. config:
  55. autogenerated: true
  56. default: ""