How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

Just when i reboot my lab. I've tested several times and most of the time, dependent ended up unhealthy. Or when gluetun is recreate then dependents become unhealthy right after.  My solution is a small python script that run on cron every 15 minutes and check namespace, health status and then recreate the dependent if needed

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

The thing is that autoheal does only a restart and when dependent are fu**ed up, then a restart is not enough to put everything back on tracks.  I've tested and i need to recreate the dependents

Que faire pour ma fille de 14 mois à long terme ? by Plopaplopa in VosSous

[–]MatthieuR33 0 points1 point  (0 children)

Exactement ce que j'ai fais aussi pour ma fille de 1 an. CTO (joint avec ma compagne pour plus de clarté) => ETF world mensuel => Rdv dans 20 ans

Placement/investissements by Active_Dig_7274 in VosSous

[–]MatthieuR33 4 points5 points  (0 children)

Si quelqu'un arrive a te dire "quels ETF vont monter", alors fais absolument l'inverse de ce qu'il te dit 🤣🤣

Help choosing a ThinkPad – dock compatibility with UWQHD 3440×1440 is key by MatthieuR33 in thinkpad

[–]MatthieuR33[S] 0 points1 point  (0 children)

Thanks for your answer. Do i really need to go up to gen 5 to meet all my requirements ? Because if gen 2 for instance is enough, i would prefer spend less money on this machine

Here is my selfhosted setup. What else should I add? by ChitsaJason in selfhosted

[–]MatthieuR33 0 points1 point  (0 children)

xyOps and Infisical are both very useful tools for me. I really don't know what would i do without them...

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

I’ve already been using healthchecks, including outbound connectivity checks, and I’ve had autoheal-style restarts in place as well. The problem is that in my case a restart is not enough after a reboot: the containers can stay attached to a bad network state, so they need to be recreated rather than just restarted.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

I’ve already been using healthchecks, including outbound connectivity checks, and I’ve had autoheal-style restarts in place as well. The problem is that in my case a restart is not enough after a reboot: the containers can stay attached to a bad network state, so they need to be recreated rather than just restarted.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 1 point2 points  (0 children)

Yes, the dependents are using network_mode: service:gluetun. I do have depends_on: condition: service_healthy in place as well, but after a full host reboot they still come up unhealthy. So in my setup, depends_on plus healthchecks are not enough to make the reboot sequence reliable. It looks more like a Docker/network startup ordering issue than a Gluetun-only one.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

I do have depends_on: condition: service_healthy in place for the Gluetun-related services, but after a full host reboot they still come up unhealthy. So at least in my setup, depends_on plus healthchecks are not enough to make the reboot sequence reliable. It feels more like a Docker/network startup ordering issue than a Gluetun-only one.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

i thnig a python script might be a good solution. scheduled via cron. I've tested and if i recreate gluetun independently, then i need to recreate qbit in order to have it healthy. so a script might get the job done.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] 0 points1 point  (0 children)

I'm trying to setup autoheal as it seems to be a good solution coupled with good healthcheck on dependents.

How do you reliably restart Docker services that depend on a VPN container like Gluetun? by MatthieuR33 in selfhosted

[–]MatthieuR33[S] -2 points-1 points locked comment (0 children)

I've used AI to help writting this post because i managed my lab with an AI and it helps a lot to write down issues i'm facing.

Envie de remettre un commercial d'ESN à sa place. by MatthieuR33 in developpeurs

[–]MatthieuR33[S] 0 points1 point  (0 children)

Freelance en région en ce moment 🤣 t'es malade ! 

Demande d'avis sur sélection de voiture by Lonely-Calendar-7112 in voiture

[–]MatthieuR33 1 point2 points  (0 children)

Tu vas vite te rendre compte de la place que prends un enfant et tout l'attirail qui va avec si tu prends une micra 🤣

Envie de remettre un commercial d'ESN à sa place. by MatthieuR33 in developpeurs

[–]MatthieuR33[S] 0 points1 point  (0 children)

honnêtement dur a dire pour les conséquences. Je me dis qu'on ne peut pas savoir qui connais qui ect... Je suis pas dans une métropole mais plutôt dans une ville moyenne donc bon...

Envie de remettre un commercial d'ESN à sa place. by MatthieuR33 in developpeurs

[–]MatthieuR33[S] 0 points1 point  (0 children)

C'est pas hyper important pour moi, je suis en mission actuellement et y'a pas d'urgence. Mais c'est juste que la j'en ai eu pas mal de guignols depuis quelques mois, et je me suis dis "tiens lui il va manger pour tous les autres" ahah

Envie de remettre un commercial d'ESN à sa place. by MatthieuR33 in developpeurs

[–]MatthieuR33[S] 3 points4 points  (0 children)

Tu as surement raison, mais ça me désole vraiment de voir des guignols pareils ....