From f2d06cafbb9908bd0aaba1e6cf03fee3a5e6920f Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 4 Jun 2023 19:58:24 +0200 Subject: [PATCH] fix docker-compose hanging on deploy --- templates/docker-compose.yml.j2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 10ce645..207eaab 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -21,8 +21,8 @@ services: - keepalived {% endif %} ports: - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}53:53/tcp" - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}53:53/udp" + - "53:53/tcp" + - "53:53/udp" {% if deploy_adguard_enable_admin_interface %} - "{% if deploy_adguard_consul['enable'] %}127.0.0.1:{% endif %}80:80/tcp" - "{% if deploy_adguard_consul['enable'] %}127.0.0.1:{% endif %}443:443/tcp" @@ -40,13 +40,13 @@ services: - "{% if deploy_adguard_virtual_ip['enable'] %}{% endif %}853:853/tcp" {% endif %} {% if deploy_adguard_enable_doq %} - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}784:784/udp" - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}8853:8853/udp" - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}853:853/udp" + - "784:784/udp" + - "8853:8853/udp" + - "853:853/udp" {% endif %} {% if deploy_adguard_enable_dnscrypt %} - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}5443:5443/tcp" - - "{% if deploy_adguard_virtual_ip['enable'] %}{{ deploy_adguard_virtual_ip['vip_addr'] }}:{% endif %}5443:5443/udp" + - "5443:5443/tcp" + - "5443:5443/udp" {% endif %} volumes: - conf:/opt/adguardhome/conf