OPENGB_HOSTNAME
127.0.0.1
Defines the hostname to listen on.
Change this to 0.0.0.0
if you want to allow requests from outside of your machine.
OPENGB_PORT
6420
OPENGB_PUBLIC_ENDPOINT
http://127.0.0.1:6420
The endpoint that this server can be connected to externally.
_OPENGB_LOG_SPILT_OBJECT
1
to enable logging some objects split in to individual keys.
_OPENGB_LOG_ERROR_STACK
1
to enable logging the full JavaScript stack trace for errors. This is different than trace
.
_OPENGB_LOG_SCRIPT_BODY
1
to enable logging the body for script requests & responses.
Intended primarily for debugging, since this may unintentionally expose
sensitive data.
_OPENGB_LOG_ACTOR_BODY
1
to enable logging the body for actor requests & responses.
Intended primarily for debugging, since this may unintentionally expose
sensitive data.
_OPENGB_LOG_SQL_QUERIES
1
to enable logging SQL queries and the input parameters.
DATABASE_URL
postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
VERBOSE
_OPENGB_ESBUILD_META
1
to print detailed information about the output bundle.
_OPENGB_ESBUILD_NO_MINIFY
1
to disable minifying the output bundle.
OPENGB_TERM_COLOR
never
Never use coloralways
Always use colorNO_COLOR
NO_COLOR