logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
How NocoBase Works
Installation and Version Comparison

Install NocoBase

Docker Installation
create-nocobase-app Installation
Git Source Installation
Environment Variables

Upgrade NocoBase

Upgrade Docker Installation
Upgrade create-nocobase-app Installation
Upgrade Git Source Installation

Deployment

Production Environment Deployment

Static Resource Proxy

nginx
caddy
cdn

Common Operations Commands

docker compose
pm2
How to Deploy Faster
Install and Upgrade Plugins
Previous PageUpgrade Git Source Installation
Next Pagenginx

#Production Environment Deployment

When deploying NocoBase in a production environment, installing dependencies can be cumbersome due to differences in build methods across various systems and environments. For a complete functional experience, we recommend deploying with Docker. If your system environment cannot use Docker, you can also deploy using create-nocobase-app.

WARNING

It is not recommended to deploy directly from source code in a production environment. The source code has many dependencies, is large in size, and a full compilation has high CPU and memory requirements. If you must deploy from source code, it is recommended to first build a custom Docker image and then deploy it.

#Deployment Process

For production environment deployment, you can refer to the existing installation and upgrade steps.

#New Installation

  • Docker Installation
  • create-nocobase-app Installation

#Upgrading the Application

  • Upgrading a Docker Installation
  • Upgrading a create-nocobase-app Installation

#Installing and Upgrading Third-Party Plugins

  • Installing and Upgrading Plugins

#Static Asset Proxy

In a production environment, it is recommended to manage static assets with a proxy server, for example:

  • nginx
  • caddy
  • cdn

#Common Operations Commands

Depending on the installation method, you can use the following commands to manage the NocoBase process:

  • docker compose
  • pm2