12 lines
326 B
Text
12 lines
326 B
Text
[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
|