From 25e9d8c43b446b157dc2e5f5cd95782c6e064939 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 17 Sep 2023 11:10:54 +0200 Subject: [PATCH] TODO:dataplaneapi MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Wird gar nicht benötigt! * Die Runtime-API ist ja schon über TCP freigeschaltet!! * `echo "help" | socat stdio tcp4-connect:127.0.0.1:8401` --- docker-compose.yml | 2 +- haproxy.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 25bc6c2d..7aed1f90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: haproxy: image: haproxytech/haproxy-debian:2.8 volumes: - - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:rw + - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro - ./sharding.map:/usr/local/etc/haproxy/sharding.map:ro sysctls: net.ipv4.ip_unprivileged_port_start: 0 diff --git a/haproxy.cfg b/haproxy.cfg index 6c451ce4..b19f71f1 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -9,6 +9,7 @@ defaults global stats socket ipv4@:8401 level admin + stats socket /var/run/haproxy.sock mode 666 level admin stats timeout 2m frontend stats -- 2.20.1