registry-ui
registry-ui copied to clipboard
config.yml path by env variable
Hello, just tried to deploy it in kubernetes with no success. Is there option to pass config.yml path by Environment variable? meaning if I mount configmap with the config.yml key to /myconfig, how can I pass this path (/myconfig/config.yml) to the app?
Ok, just checked that is hardcoded (( https://github.com/Quiq/docker-registry-ui/blob/5bce4ad9c61c7c82a3c90ba5880b0754225e8b0d/main.go#L60
So recreated image with my own path. All works fine now. but it will be great to get option to set it by Environment variable
You can create a container with the command like -config-file=.... w/o rebuilding an image.