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.
42 lines
1.2 KiB
42 lines
1.2 KiB
description: "Apache Web Server"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
## XXXvlab: currently only used when building LXC along with hooks/install
|
|
## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
|
|
inherit: base-0k
|
|
compatiblity: ## 'hooks/install' script was run on a these images without issues
|
|
- ubuntu/15.10
|
|
docker-compose:
|
|
## XXXvlab: should move to global lxc/docker compatible option
|
|
ports:
|
|
- "0.0.0.0:80:80"
|
|
- "0.0.0.0:443:443"
|
|
data-resources:
|
|
- /var/www/html
|
|
- /var/log/apache2
|
|
config-resources:
|
|
- /etc/apache2/sites-enabled
|
|
provides:
|
|
web-proxy:
|
|
tech-dep: "reversed"
|
|
publish-dir:
|
|
uses:
|
|
log-rotate:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
disk-leak: "/var/log/apache2"
|
|
cert-provider:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: optional
|
|
auto: pair
|
|
limit: n
|
|
solves:
|
|
feature: "SSL certificate generation"
|
|
backup:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backup"
|