From: Kai Moritz Date: Sun, 17 Sep 2023 09:10:54 +0000 (+0200) Subject: TODO:dataplaneapi X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=25e9d8c43b446b157dc2e5f5cd95782c6e064939;p=demos%2Fkafka%2Fchat TODO:dataplaneapi * 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` --- 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