mirror of
https://github.com/corda/corda.git
synced 2025-04-25 13:29:51 +00:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
notary {
|
|
mysql {
|
|
connectionRetries={{ number of Percona nodes }}
|
|
dataSource {
|
|
autoCommit="false"
|
|
jdbcUrl="jdbc:mysql://{{ your cluster IPs }}/{{ DB name, e.g. corda }}?rewriteBatchedStatements=true&useSSL=false&failOverReadOnly=false"
|
|
username={{ DB username }}
|
|
password={{ DB password }}
|
|
}
|
|
}
|
|
validating=false
|
|
serviceLegalName="O=HA Notary, C=GB, L=London"
|
|
}
|
|
|
|
compatibilityZoneURL = "https://example.com:1300"
|
|
devMode = false
|
|
|
|
rpcSettings {
|
|
address : "localhost:18003"
|
|
adminAddress : "localhost:18004"
|
|
}
|
|
keyStorePassword = ""
|
|
trustStorePassword = ""
|
|
p2pAddress : "{{ fully qualified domain name, e.g. host.example.com (or localhost in development) }}:{{ P2P port }}"
|
|
|
|
rpcUsers=[]
|
|
myLegalName : "O=Worker 1, C=GB, L=London"
|
|
|
|
// We recommend using Postgres for the node database, or an other supported
|
|
// database that you already have set up. Note that the notarised states
|
|
// are written to the MySQL database configured in `notary.mysql`.
|
|
dataSourceProperties = {
|
|
dataSourceClassName = "org.postgresql.ds.PGSimpleDataSource"
|
|
dataSource.url = "jdbc:postgresql://[HOST]:[PORT]/postgres"
|
|
dataSource.user = [USER]
|
|
dataSource.password = [PASSWORD]
|
|
}
|
|
database = {
|
|
transactionIsolationLevel = READ_COMMITTED
|
|
schema = [SCHEMA]
|
|
}
|
|
jarDirs = [PATH_TO_JDBC_DRIVER_DIR]
|