2017-02-20 11:40:05 +01:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"http_addr": ":4443"
|
|
|
|
},
|
|
|
|
"trust_service": {
|
|
|
|
"type": "remote",
|
|
|
|
"hostname": "notarysigner",
|
|
|
|
"port": "7899",
|
2017-03-23 14:00:53 +01:00
|
|
|
"tls_ca_file": "./notary-signer-ca.crt",
|
2017-02-20 11:40:05 +01:00
|
|
|
"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",
|
2017-02-27 14:01:26 +01:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|