mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
8df958c959
* Create 21-haproxy.conflist * Update 21-haproxy.conflist * Update README.md * Update README.md * Update update-haproxy.sh * Update README.md * Update README.md
11 lines
227 B
Bash
11 lines
227 B
Bash
IMAGE=haproxy:latest
|
|
|
|
podman pull $IMAGE
|
|
podman stop haproxy
|
|
podman rm haproxy
|
|
podman run -d --net=host --restart always \
|
|
--name haproxy \
|
|
--hostname ha.proxy \
|
|
-v "/mnt/data/haproxy/:/usr/local/etc/haproxy/" \
|
|
$IMAGE
|