2024-11-15 16:50:11 +01:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2024-11-11 17:03:53 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Certbot renewal
|
|
|
|
|
|
|
|
[Container]
|
|
|
|
Image=docker.io/infinityofspace/certbot_dns_porkbun:latest
|
|
|
|
Volume=/etc/letsencrypt:/etc/letsencrypt:z
|
|
|
|
Volume=/var/log/letsencrypt:/var/log/letsencrypt:z
|
|
|
|
Volume=/etc/porkbun.ini:/conf/porkbun.ini:z
|
|
|
|
Exec=certonly -d "{{ ','.join(certbot_domains) }}"
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=on-failure
|