]> juplo.de Git - demos/kafka/chat/commitdiff
TODO:dataplaneapi
authorKai Moritz <kai@juplo.de>
Sun, 17 Sep 2023 09:10:54 +0000 (11:10 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 17 Sep 2023 09:12:37 +0000 (11:12 +0200)
* 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
haproxy.cfg

index 25bc6c2dceccf7d3dfcb8e409ae9b003785fc17e..7aed1f907cf5f571bfadc3a50d38982091e6f91d 100644 (file)
@@ -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
index 6c451ce46172f75bc2375d5268762e12ce8594fa..b19f71f1f9e0bfa71476277ad4e3cdf9dbf9830f 100644 (file)
@@ -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