mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-03 07:34:35 +01:00
a912a55ac2
By default Harbor will call catalog API of registry and sync the result to DB, this becomes problematic when registry is configured to custom storage service, there maybe inconsistent result and the whole process may be very time consuming. So in this commit a env var SYNC_REGISTRY is introduced if user want Harbor to sync the repo when it starts up, by default it's false.
10 lines
240 B
Plaintext
10 lines
240 B
Plaintext
LOG_LEVEL=info
|
|
CONFIG_PATH=/etc/ui/app.conf
|
|
UI_SECRET=$ui_secret
|
|
JOBSERVICE_SECRET=$jobservice_secret
|
|
GODEBUG=netdns=cgo
|
|
ADMINSERVER_URL=$adminserver_url
|
|
UAA_CA_ROOT=/etc/ui/certificates/uaa_ca.pem
|
|
_REDIS_URL=$redis_url
|
|
SYNC_REGISTRY=false
|