-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feedback] Ability to add Traefik specific labels when installing apps #773
Comments
@anlek - We will be looking into this in future iteration. Currently CasaOS depends on container labelling heavily, so exposing label editing is a bit risky. But we will see. |
Ability to add docker labels, its very impotent please add it |
It's such a shame that I haven't got to understand how Traefik works until recently... It's definitely a big plus to CasaOS. Seriously looking into this... |
I need label to use WATCHTOWER_LABEL_ENABLE="true" |
My bad this issue is meant to track labelling specific to Traefik. While there is no UI to allow adding labels, you can export the compose file from your app as YAML, update the casaos-cli app-management apply <appid> -f <path to the updated yaml file> See https://docs.docker.com/compose/compose-file/deploy/#labels for details and examples |
At minimum, we need to allow user to edit LABEL for each app in the UI. This feature needs to be designed and implemented. |
As a workaround you can install and use Portainer in the meanwhile to edit the labels, if you don't want to do it over command line. |
You could filter your own labels out of the "edit/add" list |
@tigerinus Looked at the CasaOS-App repo and CasaOS-UI repo. As far as I can tell, most of the App there doesn't expose some sort of common LABELS (they do expose some, but most of them are default labels from docker-image). And the CasaOS-UI repo, it doesn't seem its adding any extra casa specific Label either. Could you point me to some codeblocks where I can take a look to see how the labels are used? |
Agreed this would be extremely helpful! Seems easy to filter special Casa labels by prefix? Alternatively only allow editing of labels that were originally user created, if a DB exists to remember that info. Forgive my ignorance, please. |
Any updates on the ETA for this ticket? |
I am looking at moving out from cli oriented management, and this feature is for me a requirement to commit this migration. I would propose another click-ful label edition: Why not proposing some global configuration to set a default set of labels, env vars and more, where each param could be set as mandatory or not, with a meaningful name and description, default values based on the app name by example, and more. This would finally support any proxy (not only traefik) and all the docker-aware stuff for auth, monitoring and much more. |
Description
I'd love to use Traefik to do proxy routings, however, the current version of CasaOS doesn't support me adding/editing labels. Any chance that's a feature that's coming?
Additional Information
The text was updated successfully, but these errors were encountered: