21 lines
570 B
Plaintext
21 lines
570 B
Plaintext
[Unit]
|
|
Description=DDNS
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Container]
|
|
Environment=ROUTE53_RECORD={{ item.record }}
|
|
Environment=HOSTED_ZONE_ID={{ item.hosted_zone_id }}
|
|
Environment=AWS_ACCESS_KEY_ID={{ aws.access_key_id }}
|
|
Environment=AWS_SECRET_ACCESS_KEY={{ aws.secret_access_key }}
|
|
{% if item.skip_ipv6 | default(false) %}
|
|
Environment=SKIP_IPV6=true
|
|
{% endif %}
|
|
{% if item.skip_ipv4 | default(false) %}
|
|
Environment=SKIP_IPV4=true
|
|
{% endif %}
|
|
Image=gitea.reeseapps.com/services/ddns:latest
|
|
Network=ddns.network
|
|
|
|
[Install]
|
|
WantedBy=default.target |