template.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. version: 31.0.10-apache
  14. author: Christian Lempa
  15. date: '2025-10-31'
  16. tags:
  17. - traefik
  18. spec:
  19. database:
  20. required: true
  21. vars:
  22. database_type:
  23. description: "Database type (Nextcloud supports PostgreSQL or MySQL/MariaDB)"
  24. type: enum
  25. options: ["postgres", "mysql"]
  26. default: "postgres"
  27. network:
  28. vars:
  29. network_macvlan_ipv4_address_db:
  30. description: "Static IP address for database container (macvlan only)"
  31. type: str
  32. default: "192.168.1.252"
  33. needs: "network_mode=macvlan"
  34. ports:
  35. vars:
  36. ports_http:
  37. description: "Host port for HTTP"
  38. type: int
  39. default: 80
  40. nextcloud:
  41. description: "Configure Nextcloud application settings"
  42. vars:
  43. admin_user:
  44. description: "Nextcloud admin username"
  45. type: str
  46. default: "admin"
  47. admin_password:
  48. description: "Nextcloud admin password"
  49. type: str
  50. sensitive: true
  51. autogenerated: true
  52. default: ""