Update readme and add config samples

This commit is contained in:
2022-05-09 22:55:22 +02:00
parent 438725066e
commit 0049ad99de
3 changed files with 28 additions and 2 deletions

12
conf/portal.toml Normal file
View File

@@ -0,0 +1,12 @@
address = "0.0.0.0" # address to which to bind
port = 1337 # port on which to listen for incoming connections
[logging]
json = false # output logs in json format
loglevel = "info" # how much log output to spam
[tls]
ca = "ca.crt" # certificate authority cert/bundle
cert = "portal.crt" # client certificate used during mTLS
key = "portal.key" # client key used during mTLS
insecure = false # setting this to true will make speedrun skip portal's certificate validation step

15
conf/speedrun.toml Normal file
View File

@@ -0,0 +1,15 @@
[gcp]
projectid = "yourproject" # GCP project ID
[logging]
json = false # output logs in json format
loglevel = "info" # how much log output to spam
[portal]
use-private-ip = false # try to connect to private IP of the instances rather than to the public
[tls]
ca = "ca.crt" # certificate authority cert/bundle
cert = "speedrun.crt" # client certificate used during mTLS
key = "speedrun.key" # client key used during mTLS
insecure = false # setting this to true will make speedrun skip portal's certificate validation step