docs/docs/en/multi-app/multi-app/local.md
When users want to split business domains at the application level without introducing complex deployment and operations, the shared-memory multi-application mode can be used.
In this mode, multiple applications run within a single NocoBase instance. Each application is independent, can connect to its own database, and can be created, started, or stopped independently. However, they share the same process and memory space, so only one NocoBase instance needs to be maintained.
Before using multi-application features, ensure the following environment variables are set when starting NocoBase:
APP_DISCOVERY_ADAPTER=local
APP_PROCESS_ADAPTER=local
In System Settings, click App supervisor to enter the application management page.
Click Add to create a new application.
| Option | Description |
|---|---|
| Application display name | Name shown in the UI |
| Application ID | Application identifier, globally unique |
| Start mode | - Start on first visit: starts when the app is first accessed via URL |
local) |
| Database | Configures the main data source. Supported options:Click Start to start the application.
If Start on first visit was selected during creation, the application will start automatically on first access.
Click Visit to open the application in a new tab.
By default, applications are accessed via /apps/:appName/admin/, for example:
http://localhost:13000/apps/a_7zkxoarusnx/admin/
You can also configure a dedicated domain. The domain must resolve to the current IP, and if using Nginx, the domain must be added to the Nginx configuration.
Click Stop to stop the application.
The current status of each application is shown in the list.
Click Delete to remove an application.
Applications can use the same plugins (and versions) as the main application, but plugin configuration and usage are isolated per application.
Applications can use independent databases. To share data between applications, use external data sources.
Currently, backups created in the main application do not include data from other applications (only basic application metadata). Data must be backed up and migrated separately within each application.
In shared-memory mode, application versions automatically follow the main application, ensuring version consistency.