Skip to content

[Feature Request] Docker autodiscovery labels - string replacements #4476

Closed Answered by mlofjard
mlofjard asked this question in Feature Requests
Discussion options

You must be logged in to vote

I ended up bodging this together with a custom api widget and my WUD's api..

Label=homepage.group=Containers
Label=homepage.name=%N
Label=homepage.widget.type=customapi
Label=homepage.widget.url=http://wud.dns.podman:3000/api/containers?name=%N
Label=homepage.widget.display=list
Label=homepage.widget.mappings[0].field.0.image=name
Label=homepage.widget.mappings[0].additionalField.field.0.image.tag=value

%N here is the name of my systemd service, which I conveniently uses as the name for the container as well.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mlofjard
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
1 participant