User Tools

Site Tools


linux:gluetun-docker-stack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:gluetun-docker-stack [2025/08/27 11:53] Wulf Rajeklinux:gluetun-docker-stack [2025/08/27 12:28] (current) Wulf Rajek
Line 387: Line 387:
       test: curl -f http://localhost:5800 || exit 1       test: curl -f http://localhost:5800 || exit 1
       timeout: 20s       timeout: 20s
 +</code>
 +
 +
 +Starting the whole stack:
 +<code>docker compose -f docker-gluetun.yml up -d</code>
 +Updating individual services (e.g. autohealth):
 +<code>
 +docker compose -f docker-gluetun.yml pull autohealth
 +docker compose -f docker-gluetun.yml up autohealth -d
 +</code>
 +
 +As a restart/rebuild of the gluetun container prevents the other services from connecting, forcing gluetun to only connect to a different VPN endpoint can be done using the following 'hack':
 +<code>
 +docker exec -ti gluetun 'wget' '-qO-' '--method=PUT' '--body-data={"status":"stopped"}' 'http://127.0.0.1:8000/v1/openvpn/status'
 </code> </code>
linux/gluetun-docker-stack.1756291985.txt.gz · Last modified: by Wulf Rajek