fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
922 B

  1. docker-image: docker.0k.io/nextcloud:18.0.1-myc
  2. data-resources:
  3. - /var/www/html
  4. - /var/lib/nextcloud/data
  5. provides:
  6. nextcloud-app:
  7. uses:
  8. sql-database:
  9. #constraint: required | recommended | optional
  10. #auto: pair | summon | none ## default: pair
  11. constraint: required
  12. auto: summon
  13. solves:
  14. database: "main storage"
  15. web-proxy:
  16. #constraint: required | recommended | optional
  17. #auto: pair | summon | none ## default: pair
  18. constraint: optional
  19. auto: pair
  20. solves:
  21. proxy: "Public access"
  22. default-options:
  23. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80
  24. apache-custom-rules:
  25. - |
  26. <IfModule mod_headers.c>
  27. Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
  28. </IfModule>
  29. backup:
  30. constraint: recommended
  31. auto: pair
  32. solves:
  33. backup: "Automatic regular backup"