This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
HarborSetupDatabase
Robert Clegg edited this page Feb 15, 2019
·
1 revision
The Harbor database server can either be created on the host machine (default), or Harbor can connect to an external, pre-existing database server.
-
If taking the local database option, ensure that this is backed up regularly. The documentation for PostgreSQL backup describes a number of options for this. By default, Harbor installs the database in the directory
/data/database/
. -
If connecting to an external database server, edit the
harbor_db_*
key-value pairs inroles/harbor/settings/public.yml
with the appropriate information. The password is kept separately inroles/harbor/settings/secret.yml
(see above).- Note that the DB user account will need elevated permissions to create tables, etc. The Harbor documentation states that it should be the root user, but this is likely impractical.