harbor/make/common/templates/notary/server-config.json

29 lines
603 B
JSON
Raw Normal View History

2017-02-20 11:40:05 +01:00
{
"server": {
"http_addr": ":4443"
},
"trust_service": {
"type": "remote",
"hostname": "notarysigner",
"port": "7899",
"tls_ca_file": "./root-ca.crt",
"key_algorithm": "ecdsa"
},
"logging": {
"level": "debug"
},
"storage": {
"backend": "mysql",
"db_url": "server@tcp(mysql:3306)/notaryserver?parseTime=True"
},
"auth": {
"type": "token",
"options": {
"realm": "$token_endpoint/service/token",
"service": "harbor-notary",
2017-02-26 12:53:13 +01:00
"issuer": "harbor-token-issuer",
2017-02-20 11:40:05 +01:00
"rootcertbundle": "/config/root.crt"
}
}
}