58 lines
1.6 KiB
58 lines
1.6 KiB
description: "Cyclos UI"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
subordinate: true
|
|
|
|
data-resources:
|
|
- /var/www/cyclos-ui
|
|
|
|
default-options:
|
|
apiRoot: api
|
|
appTitle: Cyclos
|
|
appTitleSmall: Cyclos frontend
|
|
appTitleMenu: Cyclos menu
|
|
|
|
|
|
uses:
|
|
backup:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backup"
|
|
default-options:
|
|
## First pattern matching wins, no pattern matching includes.
|
|
## include-patterns are checked first, then exclude-patterns
|
|
## Patterns rules:
|
|
## - ending / for directory
|
|
## - '*' authorized
|
|
## - must start with a '/', will start from $SERVICE_DATASTORE
|
|
exclude-patterns:
|
|
publish-dir:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
scope: container
|
|
constraint: required
|
|
auto: summon
|
|
solves:
|
|
container: "main running server"
|
|
default-options:
|
|
location: !var-expand "$DATASTORE/$BASE_SERVICE_NAME/var/www/cyclos-ui"
|
|
# data-dirs: ## write permission for web-app
|
|
# - .
|
|
apache-custom-rules:
|
|
- |
|
|
<Location / >
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
RewriteRule ^index\.html$ - [L]
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /index.html [L]
|
|
</Location>
|
|
cyclos-server:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: optional
|
|
auto: pair
|
|
solves:
|
|
container: "api server"
|
|
default-options:
|