Migrating repositories#

When you install RhodeCode Enterprise you will be presented with 2 choices:

  1. Mount existing folder on your local filesystem, and this is what RhodeCode Enterprise will use to store your repos. In this case RhodeCode Enterprise will automatically import repos present in that folder. You can also do Remap and Rescan Repositories from admin interface to force new repos discovery.

  2. Use docker named volume rc_reposvolume - in this case you can either set create new repository in RhodeCode Enterprise UI and set it as a remote for your local repo, and then push. If your repo is hosted somewhere else, click “Import Existing Repository ?” and provide url to it. RhodeCode Enterprise will attempt to pull it and import.

Important

Repo storage path inside docker is configurable in rhodecode.ini file: repo_store.path = /var/opt/rhodecode_repo_store

Mounting of local filesystem folder is configurable in docker-compose-apps.override.yaml

Importing adds RhodeCode Enterprise git hooks to your repositories.

You should verify if custom .hg or .hgrc files inside repositories should be adjusted since RhodeCode Enterprise reads the content of them.

Note

There’s another override file for dev setup, which mounts default workspace folder as a repo storage by default. you can configure this by changing docker-compose-apps.dev.yaml (and commenting out all lines $WORKSPACE_HOME:/var/opt/rhodecode_repo_store:delegated)