Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
| Beide kanten vorige revisie Vorige revisie Volgende revisie | Vorige revisie | ||
|
installatie_handleidingen:mikrotik:ha-proxy [2025/09/21 13:37] abel [Persistent volumes] |
installatie_handleidingen:mikrotik:ha-proxy [2025/09/21 17:12] (huidige) abel [Persistent volumes location] |
||
|---|---|---|---|
| Regel 13: | Regel 13: | ||
| < | < | ||
| /file | /file | ||
| - | add type=directory name=/ | + | add type=directory name=/ |
| </ | </ | ||
| Regel 39: | Regel 40: | ||
| </ | </ | ||
| + | upload this config file to the preveously crated location. | ||
| + | < | ||
| + | scp haproxy.cfg styx:/ | ||
| + | </ | ||
| + | |||
| + | ===== set container mount ===== | ||
| + | Now set the volume with the config file as a persistent volume mount in the container: | ||
| + | < | ||
| + | / | ||
| + | add name=HAPROXY_CONF dst=/ | ||
| + | </ | ||
| + | |||
| + | ===== deploy the container ===== | ||
| + | < | ||
| + | /container | ||
| + | add remote-image=library/ | ||
| + | </ | ||
| + | |||
| + | zoek het nummer van de containerdefinitie op: ''/ | ||
| + | en start dat nummer (in ons geval 0) | ||
| + | < | ||
| + | /container | ||
| + | start number=0 | ||
| + | </ | ||