Update default value of external_database (#7756)

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2019-05-10 13:41:47 +08:00 committed by GitHub
parent 978c7027a1
commit ef4afff8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,36 +80,37 @@ log:
#This attribute is for migrator to detect the version of the .cfg file, DO NOT MODIFY! #This attribute is for migrator to detect the version of the .cfg file, DO NOT MODIFY!
_version: 1.8.0 _version: 1.8.0
# Uncomment external_database if using external database. And the password will replace the the password setting in database. # Uncomment external_database if using external database.
# And currently only support postgres. # Currently only support POSTGRES, the password will replace the password setting in database.
# NOTE: external_database is unable to custom attributes individually, you must do them in block.
# external_database: # external_database:
# harbor: # harbor:
# host: postgresql # host: harbor_db_host
# port: 5432 # port: harbor_db_port
# db_name: registry # db_name: harbor_db_name
# username: postgres # username: harbor_db_username
# password: root123 # password: harbor_db_password
# ssl_mode: disable # ssl_mode: disable
# clair: # clair:
# host: postgresql # host: clair_db_host
# port: 5432 # port: clair_db_port
# db_name: registry # db_name: clair_db_name
# username: postgres # username: clair_db_username
# password: root123 # password: clair_db_password
# ssl_mode: disable # ssl_mode: disable
# notary_signer: # notary_signer:
# host: postgresql # host: notary_signer_db_host
# port: 5432 # port: notary_signer_db_port
# db_name: registry # db_name: notary_signer_db_name
# username: postgres # username: notary_signer_db_username
# password: root123 # password: notary_signer_db_password
# ssl_mode: disable # ssl_mode: disable
# notary_server: # notary_server:
# host: postgresql # host: notary_server_db_host
# port: 5432 # port: notary_server_db_port
# db_name: registry # db_name: notary_server_db_name
# username: postgres # username: notary_server_db_username
# password: root123 # password: notary_server_db_password
# ssl_mode: disable # ssl_mode: disable
# Uncomment external_redis if using external Redis server # Uncomment external_redis if using external Redis server