mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
5f80fe7b8a
Signed-off-by: Qian Deng <dengq@vmware.com>
28 lines
645 B
Django/Jinja
28 lines
645 B
Django/Jinja
{
|
|
"server": {
|
|
"http_addr": ":4443"
|
|
},
|
|
"trust_service": {
|
|
"type": "remote",
|
|
"hostname": "notarysigner",
|
|
"port": "7899",
|
|
"tls_ca_file": "./notary-signer-ca.crt",
|
|
"key_algorithm": "ecdsa"
|
|
},
|
|
"logging": {
|
|
"level": "debug"
|
|
},
|
|
"storage": {
|
|
"backend": "postgres",
|
|
"db_url": "postgres://server:password@postgresql:5432/notaryserver?sslmode=disable"
|
|
},
|
|
"auth": {
|
|
"type": "token",
|
|
"options": {
|
|
"realm": "{{token_endpoint}}/service/token",
|
|
"service": "harbor-notary",
|
|
"issuer": "harbor-token-issuer",
|
|
"rootcertbundle": "/etc/notary/root.crt"
|
|
}
|
|
}
|
|
} |