WIP:dataplaneapi.yml
authorKai Moritz <kai@juplo.de>
Sat, 24 Feb 2024 17:36:58 +0000 (18:36 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 24 Feb 2024 17:36:58 +0000 (18:36 +0100)
dataplaneapi.yml [new file with mode: 0644]
docker-compose.yml

diff --git a/dataplaneapi.yml b/dataplaneapi.yml
new file mode 100644 (file)
index 0000000..fce39c5
--- /dev/null
@@ -0,0 +1,13 @@
+config_version: 2
+name: haproxy
+mode: single
+status: ""
+dataplaneapi:
+  advertised:
+    api_address: ""
+    api_port: 0
+  scheme:
+  - http
+haproxy:
+  reload:
+    reload_strategy: custom
index 1f17d08..d0f3d39 100644 (file)
@@ -32,6 +32,7 @@ services:
     image: haproxytech/haproxy-debian:2.8
     volumes:
       - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
+      - ./dataplaneapi.yml:/etc/haproxy/dataplaneapi.yml:ro
       - ./sharding.map:/usr/local/etc/haproxy/sharding.map:ro
     sysctls:
       net.ipv4.ip_unprivileged_port_start: 0