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.
30 lines
973 B
30 lines
973 B
description: "Let's Encrypt server"
|
|
type: run-once
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
|
|
docker-image: docker.0k.io/letsencrypt
|
|
data-resources:
|
|
- /etc/letsencrypt ## yes certificates are stored here, this is data
|
|
- /var/log/letsencrypt ## logs
|
|
- /var/lib/tldextract ## latest data about TLDs, this is used by lexicon...
|
|
default-options:
|
|
renew-before-expiry: 30
|
|
|
|
provides:
|
|
cert-provider:
|
|
uses:
|
|
log-rotate:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
disk-leak: "/var/log/letsencrypt"
|
|
#default-options:
|
|
schedule-command:
|
|
constraint: recommended
|
|
auto: summon
|
|
solves:
|
|
missing-feature: "Automatic certificate renewal"
|
|
default-options: !var-expand
|
|
(30 3 * * 7) {-D -p 10} compose crt "$BASE_SERVICE_NAME" renew
|