Environment variables
env variables read from process.env. They are user-provided inputs, so the requirements view can report missing environment values before resolution.
apiHost: ${env:DOCS_API_HOST, "localhost"}
apiPort: ${env:DOCS_API_PORT, 3000 | Number}Use a fallback after the comma when local development can proceed without an environment value. Use filters such as Number, Boolean, or Json when the resolved value must not remain a string.
See inspect required inputs for the machine-readable requirements output and filters for coercion behavior.
Last updated on