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.

40 lines
1.1 KiB

  1. description: Hugo
  2. subordinate: true
  3. requires:
  4. web-publishing-directory:
  5. interface: publish-dir
  6. scope: container
  7. data-resources:
  8. - /opt/apps/hugo/output
  9. default-options:
  10. # config:
  11. # language-code: "en-us"
  12. # title: "My Hugo Site"
  13. # theme: "ananke"
  14. uses:
  15. publish-dir:
  16. #constraint: required | recommended | optional
  17. #auto: pair | summon | none ## default: pair
  18. scope: container
  19. constraint: required
  20. auto: summon
  21. solves:
  22. container: "main running server"
  23. default-options:
  24. location: !var-expand "$DATASTORE/$BASE_SERVICE_NAME/opt/apps/hugo/output"
  25. backup:
  26. constraint: recommended
  27. auto: pair
  28. solves:
  29. backup: "Automatic regular backup"
  30. default-options:
  31. ## First pattern matching wins, no pattern matching includes.
  32. ## include-patterns are checked first, then exclude-patterns
  33. ## Patterns rules:
  34. ## - ending / for directory
  35. ## - '*' authorized
  36. ## - must start with a '/', will start from $SERVICE_DATASTORE
  37. exclude-patterns:
  38. - "/opt/apps/hugo/output/"