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

Next revision
Previous revision
linux:gluetun-docker-stack [2025/08/26 21:42] – created Wulf Rajeklinux:gluetun-docker-stack [2025/08/27 12:28] (current) Wulf Rajek
Line 169: Line 169:
     labels:     labels:
       autoheal-app: true       autoheal-app: true
 +    healthcheck:
 +      interval: 5m
 +      retries: 5
 +      start_period: 2m
 +      test: curl -f http://localhost:8191/health || exit 1
 +      timeout: 20s
 +      
   transmission:   transmission:
     image: lscr.io/linuxserver/transmission:latest     image: lscr.io/linuxserver/transmission:latest
Line 380: 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.1756240963.txt.gz · Last modified: by Wulf Rajek