Commit 208edc95 authored by nanahira's avatar nanahira

mirror for moenext

parent 352a1a09
...@@ -77,6 +77,26 @@ services: ...@@ -77,6 +77,26 @@ services:
{% else %} {% else %}
RRTYPE: A RRTYPE: A
{% endif %} {% endif %}
{% if instance.zone == "moenext.com" %}
ddns-{{instance.name}}-mycardmoe-mirror:
restart: always
image: oznu/cloudflare-ddns
network_mode: host
environment:
EMAIL: {{instance.email}}
API_KEY: {{instance.apiKey}}
ZONE: mycard.moe
SUBDOMAIN: {{instance.subdomain}}
{% if instance.interface is defined and instance.interface %}
INTERFACE: {{instance.interface}}
{% endif %}
DNS_SERVER: 1.0.0.1
{% if instance.ipv6 is defined and instance.ipv6 %}
RRTYPE: AAAA
{% else %}
RRTYPE: A
{% endif %}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if dnsmasq.ntp is defined and (dnsmasq.ntp == "localhost" or (dnsmasq.ntp.localhost is defined and dnsmasq.kms.localhost)) %} {% if dnsmasq.ntp is defined and (dnsmasq.ntp == "localhost" or (dnsmasq.ntp.localhost is defined and dnsmasq.kms.localhost)) %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment