Thanks to visit codestin.com
Credit goes to docs.nocobase.com

nb app

Manage the NocoBase application runtime. In npm/Git env, application commands run in the local source directory; in Docker env, application containers are managed based on the saved configuration.

Usage

nb app <command>

Subcommands

CommandDescription
nb app startStart the application or recreate the Docker container
nb app stopStop the application or clean up the Docker container
nb app restartStop the application first, then start it
nb app autostartManage app autostart flags and start all enabled envs
nb app logsView application logs
nb app upgradeStop the application, replace the source code or image, then start it again

Examples

nb app start --env app1
nb app restart --env app1
nb app autostart enable --env app1 --yes
nb app autostart run
nb app logs --env app1
nb app upgrade --env app1 --skip-download
nb app stop --env app1 --with-db