Fix a typo in the haproxy conditional.

This commit is contained in:
Andrea Dell'Amico 2023-05-26 18:06:54 +02:00
parent 372a0dfa51
commit ccc7fa0056
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ services:
portainer:
image: portainer/portainer-ce
command: -H tcp://tasks.agent:9001 --tlsskipverify
{% if docker_swarm_cluster_haproxy_install %}
{% if not docker_swarm_cluster_haproxy_install %}
ports:
- target: 9443
@ -60,7 +60,7 @@ services:
- portainer_server_data:/data
networks:
- {{ docker_swarm_portainer_network }}
{% if docker_swarm_cluster_haproxy_install %}
{% if not docker_swarm_cluster_haproxy_install %}
- {{ haproxy_docker_overlay_network }}
{% endif %}