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.
34 lines
922 B
34 lines
922 B
docker-image: docker.0k.io/nextcloud:18.0.1-myc
|
|
data-resources:
|
|
- /var/www/html
|
|
- /var/lib/nextcloud/data
|
|
provides:
|
|
nextcloud-app:
|
|
uses:
|
|
sql-database:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: required
|
|
auto: summon
|
|
solves:
|
|
database: "main storage"
|
|
web-proxy:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: optional
|
|
auto: pair
|
|
solves:
|
|
proxy: "Public access"
|
|
default-options:
|
|
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80
|
|
apache-custom-rules:
|
|
- |
|
|
<IfModule mod_headers.c>
|
|
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
|
|
</IfModule>
|
|
|
|
backup:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backup"
|