Config reference
Config file is located at /etc/trasa/config/config.toml
You can override config file values with environment variables. e.g. To override logging.level, you need to set env variable LOGGING.LEVEL
database
dbname
type:
stringdefault:
trasadbDatabase name
dbuser
type:
stringdefault:
trasauserDatabase username
dbpass
type:
stringdefault:
trasauserDatabase password
dbtype
- type:
enum string {"postgres","cockroachdb"} - default:
cockroachdb
Database type
server
type:
stringdefault:
127.0.0.1Database hostname/ip
port
type:
stringdefault:
5432Database port
sslenabled
type:
booldefault:
falseDatabase ssl status
usercert
type:
stringdefault: ``
Database ssl user certificate file path (only applicable if
sslenabled=true).
userkey
type:
stringdefault: ``
Database ssl user private key file path (only applicable if
sslenabled=true).
cacert
type:
stringdefault: ``
Database ssl ca certificate file path (only applicable if
sslenabled=true).
logging
level
- type:
string - default:
TRACE
log level
minio
status
- type:
bool - default:
false
Enable minio. If disabled local file system is used to store session recordings.
server
- type:
string - default:
127.0.0.1
Minio server hostname/IP
key
- type:
string - default:
minioadmin
Minio access key
secret
- type:
string - default:
minioadmin
Minio access secret
sslenabled
- type:
bool - default:
false
Enable ssl in minio
redis
server
- type:
string - default:
127.0.0.1
Redis server hostname/IP
security
insecureSkipVerify
- type:
bool - default:
false
Skip ssl verify while making http requests.
TRASAGATE
autoCert
- type:
bool - default:
true
Use autoCert to generate signed certificates from Let's Encrypt.
listenAddr
- type:
string - default:
localhost
Listen address of TRASAGATE server
cloudServer
- type:
string - default:
https://sg.cpxy.Trasagate.com
Address of proxy server to forward U2F requests
proxyDashboard
- type:
bool - default:
false
If enabled TRASAGATE server will proxy dashboard instead of serving. It is useful during development when dashboard is served usingnpm startcommand.
dashboardAddr
- type:
bool - default:
localhost:3000
If proxyDashboard is enabled TRASAGATE server will proxy dashboard from this address.
proxy
sshlistenAddr
- type:
string - default:
:8022
Listen address of ssh proxy
guacdAddr
- type:
string - default:
127.0.0.1:4822
Address of guacd
guacdEnabled
- type:
bool - default:
false
vault
tsxvault
- type:
bool - default:
true