-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreference.toml
More file actions
74 lines (64 loc) · 5.91 KB
/
Copy pathreference.toml
File metadata and controls
74 lines (64 loc) · 5.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
## This shows all configuration options of RUN-DSP, what they do and the corresponsing environment variables.###### RUN-DSP reference configuration file #####
## The default location of the configuration file is /etc/run-dsp/run-dsp.toml but you can change that
## with the `-c` command line flag
### GLOBAL OPTIONS ###
humanReadable = true # Sets the output to a human readable format ($HUMANREADABLE)
logLevel = "info" # Sets the log level. Valid values: debug/info/warn/error ($LOGLEVEL)
### SERVER OPTIONS ###
[server]
prometheusEnabled = false # Enable prometheus metrics ($SERVER.PROMETHEUSENABLED)
prometheusAddress = "127.0.0.1" # IP address of the local machine to listen to for prometheus metrics. ($SERVER.PROMETHEUSADDRESS)
prometheusPort = 8082 # TCP port to listen on for prometheus metrics. ($SERVER.PROMETHEUSPORT)
### TRACING OPTIONS
[server.tracing]
enabled = false # Enable sending opentelemetry data ($SERVER.TRACING.ENABLED)
grpc = false # Send opentelemetry using gRPC ($SERVER.TRACING.GRPC)
endpointUrl = "http://localhost:4318/v1/traces" # Endpoint URL for opentelemetry receiver. ($SERVER.TRACING.ENDPOINTURL)
serviceName = "run-dsp" # Service name for display purposes. ($SERVER.TRACING.SERVICENAME)
## Dataspace component configuration
[server.dsp]
address = "127.0.0.1" # IP address of the local machine to listen to for dataspace requests. ($SERVER.DSP.ADDRESS)
port = 8080 # TCP port to listen on for dataspace requests. ($SERVER.DSP.PORT)
externalURL = "http://127.0.0.1:8080" # Address that we are reachable by to other dataspace participants. ($SERVER.DSP.EXTERNALURL)
## Provider gRPC settings
[server.provider]
address = "127.0.0.1:9090" # The address of the provider service. ($SERVER.PROVIDER.ADDRESS)
insecure = false # Disable TLS when connecting to the provider. ($SERVER.PROVIDER.INSECURE)
caCert = "/path/to/ca.crt" # Path to the CA certificate of the CA that issued the server certificate of the provider. ($SERVER.PROVIDER.CACERT)
clientCert = "/path/to/client.crt" # Client certificate to authenticate with to the provider. ($SERVER.PROVIDER.CLIENTCERT)
clientCertKey = "/path/to/client.key" # Key to the above mentioned certificate. ($SERVER.PROVIDER.CLIENTCERTKEY)
## AuthN service gRPC settings
[server.authnService]
enabled = true # Enable using an authn service. ($SERVER.AUTHNSERVICE.ENABLED)
address = "127.0.0.1:9093" # The address of the authn service. ($SERVER.AUTHNSERVICE.ADDRESS)
insecure = false # Disable TLS when connecting to the authn service. ($SERVER.AUTHNERVICE.INSECURE)
caCert = "/path/to/ca.crt" # Path to the CA certificate of the CA that issued the server certificate of the authn service. ($SERVER.AUTHNSERVICE.CACERT)
clientCert = "/path/to/client.crt" # Client certificate to authenticate with to the authn service. ($SERVER.AUTHNSERVICE.CLIENTCERT)
clientCertKey = "/path/to/client.key" # Key to the above mentioned certificate. ($SERVER.AUTHNSERVICE.CLIENTCERTKEY)
## Contract service gRPC settings
[server.contractService]
enabled = true # Enable using a contract service. ($SERVER.CONTRACTSERVICE.ENABLED)
address = "127.0.0.1:9092" # The address of the contract service. ($SERVER.CONTRACTSERVICE.ADDRESS)
insecure = false # Disable TLS when connecting to the contract service. ($SERVER.CONTRACTSERVICE.INSECURE)
caCert = "/path/to/ca.crt" # Path to the CA certificate of the CA that issued the server certificate of the contract service. ($SERVER.CONTRACTSERVICE.CACERT)
clientCert = "/path/to/client.crt" # Client certificate to authenticate with to the contract service. ($SERVER.CONTRACTSERVICE.CLIENTCERT)
clientCertKey = "/path/to/client.key" # Key to the above mentioned certificate. ($SERVER.CONTRACTSERVICE.CLIENTCERTKEY)
## Control service settings
[server.control]
enabled = true # Enable the control service. ($SERVER.CONTROL.ENABLED)
address = "127.0.0.1" # IP address of the local machine to listen to for the control service. ($SERVER.CONTROL.ADDRESS)
port = 8081 # TCP port to listen on for the control service. ($SERVER.CONTROL.PORT)
externalAddress = "127.0.0.1:8081" # The address that the control service is reachable by. ($SERVER.CONTROL.EXTERNALADDRESS)
insecure = false # Disable TLS for the control service ($SERVER.CONTROL.INSECURE)
cert = "/path/to/control.crt" # TLS certificate to use for the control service ($SERVER.CONTROL.CERT)
certKey = "/path/to/control.key" # Key to the above mentioned certificate. ($SERVER.CONTROL.CERTKEY)
verifyClientCerts = true # Only allow access to clients with a certificate issued by the CA defined below. ($SERVER.CONTROL.VERIFYCLIENTCERTS)
clientCACert = "/etc/hosts" # Certificate of the CA that issues client certificates. ($SERVER.CONTROL.CLIENTCACERT)
## Persistence settings
[server.persistence]
backend = "badger" # Persistence backend to use. "badger" is the only available option right now. ($SERVER.PERSISTENCE.BACKEND)
## Badger persistence backend settings
[server.persistence.badger]
memory = true # Enable in-memory mode, this will put the database in-memory, making it not persist
# between restarts. ($SERVER.PERSISTENCE.BADGER.MEMORY)
dbPath = "/path/to/database" # Directory to store the database in. ($SERVER.PERSISTENCE.BADGER.DBPATH}