CLI:Canasta config set

From canasta

canasta > config > set

canasta config set

Change a configuration setting

Synopsis

Set one or more configuration values in the .env file of a Canasta installation.

Each argument must be in KEY=VALUE format. Multiple settings can be changed in a single invocation and only one restart is performed.

After saving the values, any side effects are applied (e.g., updating wikis.yaml when changing HTTPS_PORT) and the instance is restarted. Use --no-restart to skip the restart (useful for batching multiple changes).

canasta config set KEY=VALUE [KEY=VALUE ...] [flags]

Examples

  canasta config set HTTPS_PORT=8443 -i myinstance
  canasta config set HTTP_PORT=8080 HTTPS_PORT=8443 -i myinstance
  canasta config set CANASTA_ENABLE_OBSERVABILITY=true -i myinstance

Flags

Flag Shorthand Description Default Required
--force -f Allow setting unrecognized keys
--help -h help for set
--no-restart Save the setting without restarting the instance
--id -i Canasta instance ID instance associated with current directory
--verbose -v Verbose output