Commit 180369e1 authored by nanahira's avatar nanahira

arch shit

parent d46c7595
......@@ -2,7 +2,11 @@ version: '2.4'
services:
smartdns:
restart: always
{% if ansible_architecture == 'aarch64' %}
image: git-registry.mycard.moe/nanahira/docker-smartdns:master-arm
{% else %}
image: git-registry.mycard.moe/nanahira/docker-smartdns
{% endif %}
network_mode: host
command: -f -x -c /etc/smartdns/smartdns.conf
volumes:
......@@ -10,7 +14,11 @@ services:
- ./smartdns-cache:/tmp/smartdns-cache
dnsmasq:
restart: always
{% if ansible_architecture == 'aarch64' %}
image: git-registry.mycard.moe/nanahira/dnsmasq:original-arm
{% else %}
image: git-registry.mycard.moe/nanahira/dnsmasq:original
{% endif %}
network_mode: host
cap_add:
- NET_ADMIN
......
......@@ -9,8 +9,8 @@
- misc
- smartdns-cache
- name: dnsmasq docker-compose
copy:
src: ../files/dnsmasq/docker-compose.yml
template:
src: ../files/dnsmasq/docker-compose.yml.j2
dest: '{{ansible_user_dir}}/nextgen-router/services/dnsmasq/docker-compose.yml'
- name: dnsmasq.conf
template:
......
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