From 7b5153c790e44aadc17f1b1ccff76b15e0e0de06 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 15 Nov 2018 21:54:45 +0100 Subject: [PATCH] new: added ``cron`` service, ``letsencrypt`` uses it for renewing certificates. --- compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/compose.yml b/compose.yml index 5e86d2a..5c27b14 100644 --- a/compose.yml +++ b/compose.yml @@ -100,6 +100,17 @@ letsencrypt: # key: XXX # secret: YYY # consumer_key: ZZZ + relations: + schedule-command: + cron: ## will schedule renew of certs every week + schedule: "30 3 * * 7" ## min hour day-of-month month day-of-week + + +## Cron is present (even if empty) to add it automatically to any +## ``compose up`` (without arguments). +cron: + + # mattermost: # charm: mattermost # relations: