nb config set

Setzt einen CLI-Konfigurationseintrag. Die unterstützten Konfigurationsschlüssel finden Sie unter nb config.

Verwendung

nb config set <key> <value>

Parameter

ParameterTypBeschreibung
<key>stringName des Konfigurationseintrags. Unterstützte Werte finden Sie unter nb config
<value>stringKonfigurationswert, darf nicht leer sein

Beispiele

nb config set locale zh-CN
nb config set update.policy auto
nb config set license.pkg-url https://pkg.nocobase.com/
nb config set docker.network nocobase
nb config set docker.container-prefix nb
nb config set bin.docker /usr/local/bin/docker
nb config set bin.caddy /opt/homebrew/bin/caddy
nb config set bin.git /usr/bin/git
nb config set bin.nginx /usr/sbin/nginx
nb config set proxy.provider caddy
nb config set proxy.nb-cli-root /workspace
nb config set proxy.upstream-host host.docker.internal
nb config set bin.yarn yarn

Hinweise

update.policy unterstützt prompt, auto und off; der Standardwert ist prompt.

proxy.provider unterstützt nginx und caddy.

Verwandte Befehle