Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up an Artifactory instance to mirror another Artifactory

We would like to have two JFrog Artifactory instances, one for users inside local network of the company (with complete open access) and one that can be used from outside (with restricted accesses). So we want the second instance mirror some (or all) of repositories of the first one. Where should I start?

like image 741
rabolfazl Avatar asked Mar 16 '16 10:03

rabolfazl


1 Answers

You would probably want to have Remote Repositories that point to the inner network instance (it has to be reachable from outside your network, but only for the credentials you specify on the remote repository's configuration though) so that they can serve whatever is in the inner instance's repositories when requested.

Another option is to use Replication (which runs periodically) to sync (mirror) a repository from the outside instance with the inner one.

I would probably go with the first option as you will not have to wait for replication cycles to complete to be sure the outer instance is completely synced, replication is more of a DR usecase.

like image 142
danf Avatar answered Jan 01 '23 00:01

danf