Options

Command line flags and their environment variable equivalents.

The server accepts options as command line arguments and/or environment variables. A command line flag takes precedence over its environment variable.

FlagEnvironment variableDescription
-addrYARR_ADDRAddress to run the server on (default 127.0.0.1:7070)
-baseYARR_BASEBase path of the service URL
-authYARR_AUTHUsername and password in the format username:password
-auth-fileYARR_AUTHFILEPath to a file containing username:password. Takes precedence over -auth
-cert-fileYARR_CERTFILEPath to the TLS certificate file
-key-fileYARR_KEYFILEPath to the TLS key file
-dbYARR_DBStorage file path
-log-fileYARR_LOGFILEPath to the log file
-openOpen the server in the browser

HTTPS

Both -cert-file and -key-file are required to enable HTTPS.