Переглянути джерело

Do not assign Docker container name for certificate renewal

Prevents clashes with other services like this one.
pull/6/head
Slavi Pantaleev 8 роки тому
джерело
коміт
19e191f0bd
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      roles/matrix-server/templates/cron.d/matrix-ssl-certificate-renewal.j2

+ 1
- 1
roles/matrix-server/templates/cron.d/matrix-ssl-certificate-renewal.j2 Переглянути файл

@@ -21,4 +21,4 @@ MAILTO="{{ matrix_ssl_support_email }}"
# When a custom proxy server (not matrix-nginx-proxy provided by this playbook),
# you'd need to make sure you alias these files correctly or SSL renewal would not work.

15 4 */5 * * root /usr/bin/docker run --rm --name acmetool-host-grab --net=host -v {{ matrix_ssl_certs_path }}:/certs -v {{ matrix_ssl_certs_path }}/run:/var/run/acme -e ACME_EMAIL={{ matrix_ssl_support_email }} willwill/acme-docker acmetool --batch reconcile # --xlog.severity=debug
15 4 */5 * * root /usr/bin/docker run --rm --net=host -v {{ matrix_ssl_certs_path }}:/certs -v {{ matrix_ssl_certs_path }}/run:/var/run/acme -e ACME_EMAIL={{ matrix_ssl_support_email }} willwill/acme-docker acmetool --batch reconcile # --xlog.severity=debug

Завантаження…
Відмінити
Зберегти