@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core / environmentSchema
Variable: environmentSchema
const
environmentSchema:ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>
Type declaration
DISABLE_AUTO_HRMP
DISABLE_AUTO_HRMP:
ZodEffects
<ZodDefault
<ZodEnum
<["true"
,"false"
]>>,boolean
,undefined
|"true"
|"false"
>
Disable auto HRMP on setup. Default is false
.
DISABLE_PLUGINS
DISABLE_PLUGINS:
ZodEffects
<ZodDefault
<ZodEnum
<["true"
,"false"
]>>,boolean
,undefined
|"true"
|"false"
>
Disable plugins for faster startup. Default is false
.
http_proxy
http_proxy:
ZodOptional
<ZodString
>
HTTP_PROXY
HTTP_PROXY:
ZodOptional
<ZodString
>
https_proxy
https_proxy:
ZodOptional
<ZodString
>
HTTPS_PROXY
HTTPS_PROXY:
ZodOptional
<ZodString
>
LOG_COMPACT
LOG_COMPACT:
ZodEffects
<ZodDefault
<ZodEnum
<["true"
,"false"
]>>,boolean
,undefined
|"true"
|"false"
>
Don't log objects. Default is false
.
LOG_LEVEL
LOG_LEVEL:
ZodDefault
<ZodEnum
<["fatal"
,"error"
,"warn"
,"info"
,"debug"
,"trace"
]>>
Chopsticks log level, "fatal" | "error" | "warn" | "info" | "debug" | "trace". Default is "info".
PORT
PORT:
ZodOptional
<ZodString
>
Set port for Chopsticks to listen on, default is 8000
.
VERBOSE_LOG
VERBOSE_LOG:
ZodEffects
<ZodDefault
<ZodEnum
<["true"
,"false"
]>>,boolean
,undefined
|"true"
|"false"
>
Don't truncate log messages, show full log output. Default is false
.