You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `${DB_PASSWORD}`will be replaced with the value from the secret
238
+
- `${DB_HOST}`will be replaced with the literal value "mydbhost"
239
+
- `${DOMAIN}`will be replaced with the system environment variable if it exists
240
+
- `${NODE_ENV:-development}`will use the `NODE_ENV` environment variable if set, otherwise default to "development"
241
+
- `${REDIS_HOST:-localhost}`will use the `REDIS_HOST` environment variable if set, otherwise default to "localhost"
242
+
243
+
**Note**: Interpolation is processed in order, so you can reference variables defined earlier in the same configuration. Unresolved variables will remain unchanged in the output.
244
+
245
+
**Shell-style default values**: You can use `${VAR_NAME:-default}` syntax to provide fallback values when environment variables are not set. This is particularly useful for providing sensible defaults while allowing overrides through environment variables.
246
+
208
247
### Running with a specific environment
209
248
210
249
You can also specify the environment you want to use:
0 commit comments