Due to lake of documentation on that topic this is a Gist to configure reverse proxy properly.
Traefik is not officialy supported by jFrog as reverse proxy for Artifactory.
Keep in mind that the minimum licence level jFrog Artifactory Pro to enable Docker registry feature.
Consult docker-compose logs proxy
to check if rewrite is working as expected
You must create a repository named docker-login
in Artifactory to apply the following conf.
This repository must be at least readable by Anonymous user and is requiered for auth.
- conf.toml :
<server-cert-name>
must be replaced by the name of your server certificate file
- docker-compose.yml :
${URL}
is the URL of Artifactory's virtual host${COMPOSE_PROJECT_NAME}
must be set before invocation of docker-compose
jFrog blog : https://jfrog.com/knowledge-base/how-do-i-access-multiple-artifactory-docker-repositories-from-a-single-url/
👍