You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Docker URL for fetching Templates flexible #1964
Is your feature request related to a problem? Please describe.
My company uses a proxy for fetching docker images (which allows caching if needed). The endpoint for listing tags is different from docker hub endpoint. But since /tags is hardcoded here, I cannot simply set the DOCKER_HUB_URL value to use my custom proxy
Describe the solution you'd like
I will be open to raising a PR if you feel this can be added.
Proposed solution -
Create a template URL in env config. Something like - - DOCKER_HUB_TEMPLATE_URL=https://hub.docker.com/v2/repositories/{repo_name}/tags
and code can simply format the repo_name in code
Although the original variable (DOCKER_HUB_URL) is not being used anywhere, hardcoding /tags in value might not keep code extensible, hence new variable altogether
Describe alternatives you've considered
Nothing possible as such since /tags will give 404 for our proxy
Reacted by dosubot, Mahmoud Mabrouk and Evgenii Zakharin
We have modified our architecture not to need templates anymore. The code of the services is now part of the docker compose. The issue is resolved as a result
Activity
mmabrouk commentedon Mar 12, 2025
Sorry it took a bit long @tarunwadhwa-paypay
We have modified our architecture not to need templates anymore. The code of the services is now part of the docker compose. The issue is resolved as a result