this post was submitted on 15 Nov 2023
1 points (100.0% liked)

Portainer

20 readers
0 users here now

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.

founded 11 months ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Ziomal12@alien.top 1 points 10 months ago (1 children)

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.top 1 points 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?