Commit c91d080d authored by nanahira's avatar nanahira

smartdns arch support

parent 19860d76
......@@ -3,3 +3,4 @@
utility_root: /root/utility
apt_cacher_path: ./apt-cacher-ng/cache
apt_mirror: mirrors.tuna.tsinghua.edu.cn
smartdns_image: yousiki/smartdns:x86_64
......@@ -4,6 +4,10 @@
file:
path: '{{utility_root}}'
state: directory
- name: arm64 support
set_fact:
smartdns_image: yousiki/smartdns:aarch64
when: 'ansible_architecture == "aarch64"'
- name: docker-compose
template:
src: docker-compose.yml.j2
......
......@@ -10,7 +10,7 @@ services:
smartdns-tls:
restart: always
image: yousiki/smartdns
image: {{smartdns_image}}
ports:
- '54:53'
- '54:53/udp'
......@@ -20,7 +20,7 @@ services:
smartdns-china:
restart: always
image: yousiki/smartdns
image: {{smartdns_image}}
ports:
- '55:53'
- '55:53/udp'
......
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