• chevron_right

      How to ensure that HAProxy keep up with Docker name resolution

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 2 November, 2022 - 12:00 edit

    Ensure that HAProxy keep up with Docker name resolution. HAProxy works great as a docker container. $ docker exec haproxy cat /usr/local/etc/haproxy/haproxy.cfg global stats socket /var/run/api.sock user haproxy group haproxy mode 660 level admin expose-fd listeners log stdout format raw local0 info defaults mode http timeout client 25s timeout connect 5s timeout server 10000s timeout […]

    Značky: #Linux, #DevOps, #HAProxy, #Docker

    • chevron_right

      How to access service socket as a regular user

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 14 September, 2022 - 11:00 edit

    Create an exception for a regular user to access service socket using systemd. I will use HAProxy to show the standard group based technique and the systemd/ACLs approach. Prerequisites Create a dedicated user and group that will be used in this example. $ sudo groupadd --gid 2000 milosz $ sudo useradd --uid 2000 --gid 2000 […]

    Značky: #Bullseye, #HAProxy, #SysOps, #Linux, #systemd, #Debian