STRAZAdocs

strazad serve

Run the platform server

On this page

Synopsis

Reads the config file, then the STRAZA_ environment variables, then these flags, each overriding the one before. The profile is chosen first, and it decides the default of every other setting. The Configuration page lists every key, its default when it has one, and its environment variable when it has one.

strazad serve [flags]

Examples

  strazad serve --profile standalone
  strazad serve --config straza.yaml

Options

      --config string      config file path (default: $STRAZA_CONFIG, else ./straza.yaml when it exists)
      --data-dir string    local state directory (default data)
      --listen string      HTTP listen address (default 127.0.0.1:8420 standalone, :8420 enterprise)
      --log-level string   log level: debug, info, warn or error (default info)
      --profile string     governance profile, standalone or enterprise (default standalone); it decides every other default
      --store-dsn string   store DSN: a SQLite file path or a PostgreSQL connection string (default: <data-dir>/straza.db on SQLite; PostgreSQL needs one here, in store.dsn or in STRAZA_STORE_DSN)

See also

Search documentation

Search page titles, commands, and article text.

↑ ↓ Choose resultEnter OpenEsc Close