From 6fd6c5e21dd3ef079818d4b49b8758dc784f9a24 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 2 Oct 2020 17:59:27 +0200 Subject: [PATCH] docker publish the statistics port --- templates/haproxy-docker-compose.yml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/haproxy-docker-compose.yml.j2 b/templates/haproxy-docker-compose.yml.j2 index 9244cfc..c2773d5 100644 --- a/templates/haproxy-docker-compose.yml.j2 +++ b/templates/haproxy-docker-compose.yml.j2 @@ -15,6 +15,10 @@ services: published: {{ haproxy_ssl_port }} protocol: tcp mode: host + - target: {{ haproxy_admin_port }} + published: {{ haproxy_admin_port }} + protocol: tcp + mode: host dns: [127.0.0.11] deploy: mode: replicated