File server-config.postgres.json of Package notary

{
    "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://username:password@host:port/db_name?sslmode=db_sslmode"
    },
    "auth": {
        "type": "token",
        "options": {
            "realm": "token_endpoint/service/token",
            "service": "harbor-notary",
            "issuer": "harbor-token-issuer",
            "rootcertbundle": "/etc/notary/root.crt"
        }
    }
}
openSUSE Build Service is sponsored by