17 lines
375 B
TOML
17 lines
375 B
TOML
[service]
|
|
name = "api-server"
|
|
app_addr = "127.0.0.1:8080"
|
|
mesh_bind_addr = "0.0.0.0:18080"
|
|
|
|
[cluster]
|
|
cluster_id = "test-cluster-01"
|
|
environment = "dev"
|
|
chainfire_endpoint = "http://127.0.0.1:2379"
|
|
|
|
[mtls]
|
|
mode = "auto" # auto/mtls/tls/plain
|
|
# ca_cert_path = "/etc/photoncloud/ca.crt"
|
|
# cert_path = "/etc/photoncloud/server.crt"
|
|
# key_path = "/etc/photoncloud/server.key"
|
|
|
|
|