Codevisor Server

Configuration

Configure server identity, networking, authentication, storage, and browser origins.

Codevisor Server currently uses command-line flags rather than a configuration file.

codevisor-server serve \
  --host 0.0.0.0 \
  --port 49361 \
  --auth token \
  --serverId build-box \
  --name "Build box" \
  --kind remote
FlagDescriptionDefault
--hostBind address127.0.0.1
--portHTTP and WebSocket port49361
--authnone or tokennone on loopback, otherwise token
--serverIdStable server identifierlocal
--nameHuman-readable machine nameLocal Codevisor or the server ID
--kindlocal or remoteDerived from the bind address
--dbSQLite database pathPlatform application-support directory
--cors-originsComma-separated browser originsDisabled
--upgrade-statusData-migration status fileBeside the database

Never configure a wildcard CORS origin. Trusted localhost requests bypass bearer authentication, so a wildcard would allow an arbitrary website to drive the local server.