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.

58 lines
1.6 KiB

  1. description: "Cyclos UI"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. subordinate: true
  4. data-resources:
  5. - /var/www/cyclos-ui
  6. default-options:
  7. apiRoot: api
  8. appTitle: Cyclos
  9. appTitleSmall: Cyclos frontend
  10. appTitleMenu: Cyclos menu
  11. uses:
  12. backup:
  13. constraint: recommended
  14. auto: pair
  15. solves:
  16. backup: "Automatic regular backup"
  17. default-options:
  18. ## First pattern matching wins, no pattern matching includes.
  19. ## include-patterns are checked first, then exclude-patterns
  20. ## Patterns rules:
  21. ## - ending / for directory
  22. ## - '*' authorized
  23. ## - must start with a '/', will start from $SERVICE_DATASTORE
  24. exclude-patterns:
  25. publish-dir:
  26. #constraint: required | recommended | optional
  27. #auto: pair | summon | none ## default: pair
  28. scope: container
  29. constraint: required
  30. auto: summon
  31. solves:
  32. container: "main running server"
  33. default-options:
  34. location: !var-expand "$DATASTORE/$BASE_SERVICE_NAME/var/www/cyclos-ui"
  35. # data-dirs: ## write permission for web-app
  36. # - .
  37. apache-custom-rules:
  38. - |
  39. <Location / >
  40. RewriteEngine On
  41. RewriteBase /
  42. RewriteRule ^index\.html$ - [L]
  43. RewriteCond %{REQUEST_FILENAME} !-f
  44. RewriteCond %{REQUEST_FILENAME} !-d
  45. RewriteRule . /index.html [L]
  46. </Location>
  47. cyclos-server:
  48. #constraint: required | recommended | optional
  49. #auto: pair | summon | none ## default: pair
  50. constraint: optional
  51. auto: pair
  52. solves:
  53. container: "api server"
  54. default-options: