Back to Nocobase

Production Environment Deployment

docs/docs/en/get-started/deployment/production.md

2.0.511.7 KB
Original Source

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

Upgrading the Application

Installing and Upgrading Third-Party Plugins

Static Asset Proxy

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

Common Operations Commands

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