20 lines
542 B
Plaintext
20 lines
542 B
Plaintext
[Unit]
|
|
Description=DDNS
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Container]
|
|
Environment=ROUTE53_RECORDS_FILE=/etc/ddns/records.yaml
|
|
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=GLOBAL_SKIP_IPV6=true
|
|
{% endif %}
|
|
{% if item.skip_ipv4 | default(false) %}
|
|
Environment=GLOBAL_SKIP_IPV4=true
|
|
{% endif %}
|
|
Image=gitea.reeseapps.com/services/ddns:latest
|
|
Network=ddns.network
|
|
|
|
[Install]
|
|
WantedBy=default.target |