Harbor: Change location for internal storage

Created on 14 Apr 2017  路  5Comments  路  Source: goharbor/harbor

Docs say

By default, registry data is persisted in the target host's /data/ directory. 
This data remains unchanged even when Harbor's containers are removed and/or recreated.

How/where can I change that location?

staled

Most helpful comment

IMHO this should be added to harbor.cfg so we can choose different location and not hack the prepare script.

All 5 comments

@AlexZeitler To change the default data volume you need to make update the "volumes" of different containers io docker-compose.yml before deploying Harbor.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If anyone else is looking for this, you also need to change DATA_VOL in the ./prepare script.

IMHO this should be added to harbor.cfg so we can choose different location and not hack the prepare script.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xiaosadexiaohai picture xiaosadexiaohai  路  3Comments

mramanathan picture mramanathan  路  3Comments

a-kinder picture a-kinder  路  3Comments

272909106 picture 272909106  路  4Comments

Poil picture Poil  路  3Comments