Comment on page
Inherited Options
These options can be provided to most GX commands.
The application YAML configuration file.
GX automatically searches for the config file in the current directory. As a result, the
--config
option is optional.If there are multiple YAML files in the current directory, an error is thrown; indicating the need for one to be specified using
--config
.The properties file for gx.
Please refer to the Properties File section for additional information.
Logs errors only.
Environment scope of the application.
By default, this is read from the application YAML file and defaults to
default
.This enables multiple developers to load their own copy of the same application, isolated from each other, by loading into specific "Environments".
Here are additional ways to set the environment name. Here they are, in order of precedence from highest to lowest:
- 1.
--env_name
- 2.
env_name
field in the application YAML configuration file. - 3.
$GRAINITE_ENV
environment variable. - 4.
gx.env_name
in the gx config file (located at~/.gx
by default.).
The IP address of the Grainite server.
Default:
localhost
.The data service port of the Grainite server.
Default:
5056
.The health check endpoint port for the Grainite server.
Gx performs a health check before running any command that requires connecting to the server. This can be disabled by using --skip_health_check.
Default:
5064
.Set this flag to skip performing a server health check.
Default:
false
.Set this flag to print out stack traces for errors.
Default:
false
.Use TLS.
Client certificates must be set in the gx properties file to use this TLS. Refer to the 'Using Grainite with TLS" page for more information.
Default:
false
.If TLS is enabled and the password for the PKCS 12 certificate isn't provided, the user will be prompted to enter the password at runtime.
Default: not set.
Last modified 3mo ago