fix docker-compose hanging on deploy

This commit is contained in:
Bertrand Lanson 2023-06-04 19:58:24 +02:00
parent 674fabd392
commit f2d06cafbb

View File

@ -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