moving closer to podman systemd services for everything
This commit is contained in:
21
podman/graduated/ddns/ddns.container
Normal file
21
podman/graduated/ddns/ddns.container
Normal file
@@ -0,0 +1,21 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user