Skip to main content

Configuration

The following configuration parameters are valid for the Yak.

ParameterDescriptionRequiredDefault Value
api_keyYour unique Yak API key (retrieve from the user dashboard)x
api_secretYour unique Yak API secret (retrieve from the user dashboard)x
hostAdapter host for Yak engine and node traffic127.0.0.1
portPort for Yak engine and node traffic1238
web_portPort for WebSocket traffic to the GUI1239
api_portPort for REST API traffic1240
ui_portPort for the user interface web server3501
enable_sslEnable SSL (recommended for production)false
db_driverDatabase driver to use (currently only SQLite is supported)SQLite
log_pathPath to write yak.log fileyak.log
log_to_fileWrite log output to filetrue
log_to_consoleWrite log output to consoletrue

Examples

  • Start a Yak with a default configuration

    yak.exe --api_key MY_KEY --api_secret MY_SECRET
  • Start a Yak on adapter 10.0.0.5

    yak.exe --api_key MY_KEY --api_secret MY_SECRET --host 10.0.0.5
  • Start a Yak on adapter 10.0.0.5 and host the web GUI on port 80

    yak.exe --api_key MY_KEY --api_secret MY_SECRET --host 10.0.0.5 --ui_port 80