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",
|
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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|