Skip to main content
Version: Nightly

Standalone

Subcommand options

You can list all the options from the following command:

greptime standalone start --help
OptionDescription
-c/--config-fileThe configuration file for frontend
--env-prefix <ENV_PREFIX>The prefix of environment variables, default is GREPTIMEDB_STANDALONE
--http-addr <HTTP_ADDR>HTTP server address
--influxdb-enableWhether to enable InfluxDB protocol in HTTP API
--mysql-addr <MYSQL_ADDR>MySQL server address
--postgres-addr <POSTGRES_ADDR>Postgres server address
--rpc-bind-addr <RPC_BIND_ADDR>The address to bind the gRPC server

Examples

Start standalone with configurations

Starts GreptimeDB in standalone mode with customized configurations:

greptime --log-dir=greptimedb_data/logs --log-level=info standalone start -c config/standalone.example.toml

The standalone.example.toml configuration file comes from the config directory of the [GreptimeDB](https://github.com/GreptimeTeam/greptimedb/) repository. You can find more example configuration files there. The -c option specifies the configuration file, for more information check Configuration.