forked from 0k/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.
40 lines
1.1 KiB
40 lines
1.1 KiB
description: Hugo
|
|
subordinate: true
|
|
requires:
|
|
web-publishing-directory:
|
|
interface: publish-dir
|
|
scope: container
|
|
data-resources:
|
|
- /opt/apps/hugo/output
|
|
|
|
default-options:
|
|
# config:
|
|
# language-code: "en-us"
|
|
# title: "My Hugo Site"
|
|
# theme: "ananke"
|
|
|
|
uses:
|
|
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/opt/apps/hugo/output"
|
|
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:
|
|
- "/opt/apps/hugo/output/"
|