Matrix Docker Ansible eploy
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.
 
 

15 regels
828 B

  1. MAILTO="{{ ssl_support_email }}"
  2. # The goal of this cronjob is to ask acmetool to check
  3. # the current SSL certificates and to see if some need renewal.
  4. # It so, it would attempt to renew.
  5. #
  6. # Various services depend on these certificates and would need to be restarted.
  7. # This is not our concern here. We simply make sure the certificates are up to date.
  8. # Restarting of services happens on its own different schedule (other cronjobs).
  9. #
  10. # acmetool is supposed to bind to port :80 (forwarded to the host) and solve the challenge directly.
  11. # We can afford to do that, because all our services run on other ports.
  12. 15 4 */5 * * root /usr/bin/docker run --rm --name acmetool-once -p 80:80 -v {{ ssl_certs_path }}:/certs -e ACME_EMAIL={{ ssl_support_email }} willwill/acme-docker acmetool --batch reconcile # --xlog.severity=debug