Probably a bit of a newb question (and I think I know the answer) but still…

I want to add labels to my portainer container (to move it behind traefik and authelia) but I obviously can’t rebuild from itself.

I also, for some reason, can’t find the docker-compose otherwise i’d add them there.

Am I missing something or do I need to rebuild and hope?

  • Ziomal12@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    The easy solution is to add portainer to Traefik using file provider (so file dynamic configuration). This way also allows to add to Traefik services outside of docker itself, so cockpit for example.

    • charmstrong70@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Awesome, thanks for this - couldn’t remember from setting it up but it makes sense that it was just docker run.

      Would I be safe to just rebuild a new instance from Portainer itself and just point to the same volumes?