Gebruikershulpmiddelen

Site-hulpmiddelen


installatie_handleidingen:mikrotik:ha-proxy

Verschillen

Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.

Link naar deze vergelijking

Beide kanten vorige revisie Vorige revisie
Volgende revisie
Vorige revisie
installatie_handleidingen:mikrotik:ha-proxy [2025/09/21 14:05]
abel [configuration file]
installatie_handleidingen:mikrotik:ha-proxy [2025/09/21 17:12] (huidige)
abel [Persistent volumes location]
Regel 13: Regel 13:
 <code> <code>
 /file  /file 
-add type=directory name=/usb1/persistent-volumes/haproxy+add type=directory name=/usb1/persistent-volumes/haproxy/config-dir 
 </code> </code>
  
Regel 41: Regel 42:
 upload this config file to the preveously crated location. upload this config file to the preveously crated location.
 <code> <code>
-scp haproxy.cfg styx:/usb1/persistent-volumes/haproxy+scp haproxy.cfg styx:/usb1/persistent-volumes/haproxy/config-dir
 </code> </code>
  
Regel 48: Regel 49:
 <code> <code>
 /container/mounts /container/mounts
-add container=haproxy dst=/usr/local/etc/haproxy src=/usb1/persistent-volumes/haproxy/conf-dir+add name=HAPROXY_CONF dst=/usr/local/etc/haproxy src=/usb1/persistent-volumes/haproxy/config-dir
 </code> </code>
  
 ===== deploy the container ===== ===== deploy the container =====
-/container/add remote-image=haproxy:latest interface=veth-haproxy root-dir=usb1/persistent-volumes/haproxy/ root-dir hostname=haproxy +<code> 
-/container/start haproxy+/container 
 +add remote-image=library/haproxy:latest interface=veth-haproxy root-dir=usb1/persistent-volumes/haproxy/root-dir mounts=HAPROXY_CONF name=haproxy 
 +</code>
  
 +zoek het nummer van de containerdefinitie op: ''/container/print''
 +en start dat nummer (in ons geval 0)
 +<code>
 +/container
 +start number=0
 </code> </code>
  
  
installatie_handleidingen/mikrotik/ha-proxy.1758456346.txt.gz · Laatst gewijzigd: 2025/09/21 14:05 door abel