Jellyfin Forum
Docker swarm - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: General Discussion (https://forum.jellyfin.org/f-general-discussion)
+--- Thread: Docker swarm (/t-docker-swarm)



Docker swarm - h_of_h - 2024-05-13

Hey all. so basically i run docker swarm with jellyfin running as a service but only one instance at a time. Whenever the container moves or gets re-created the image name changes and then i have to "add server" via the url again to re-connect in the browser. Would adding a label to the container itself persist and be recognized after a reboot? Any thoughts would be greatly appreciated.


RE: Docker swarm - mcarlton00 - 2024-05-13

This sounds more like something in your config directory keeps getting recreated/overwritten. Container name should mean exactly 0 if you're using the same configs and data for everything. It could _almost_ make sense if you have a proxy system setup and that's causing havoc, but the app itself shouldn't care at all what the container name is. But assuming you're using docker compose, you can just add in a 'container_name' field and ensure it's always something consistent.