all the containers change IP addresses frequently. For home assistant a static IP address of the proxy manager is mandatory in order to reach it. For jellyfin it is useful to see which device accesses jellyfin. If the IP always changes, it doesn’t work properly.

How do I fix a container IP with podman compose (or docker)

  • @aksdb@lemmy.world
    link
    fedilink
    English
    49 months ago

    The bigger issue (IMO) is, that you now have a hard requirement on the startup order of your services. If another one happens to get the IP assigned automatically befor your service starts that requests it explicitly, you now have a conflict that you manually have to resolve.

    DNS is the only sane solution here.

    • lemmyvore
      link
      fedilink
      English
      09 months ago

      DNS can also give you some headaches. If you also need to reach other things on the LAN by name, or want to have a mesh VPN going with Tailscale, now you have to juggle three DNS domains.

      • @aksdb@lemmy.world
        link
        fedilink
        English
        39 months ago

        I meant DNS within your container network. Exposed stuff should be mapped to host ports.