docs/docs/en/nocobase-cli/installation/airgap.md
#Intranet installation
If your server cannot access the public network, the installation method requires you to prepare the images, dependencies and plug-in packages required for offline use in advance. By default, it is recommended to use Docker first, which has the shortest path and is easiest to reproduce.
On a machine that can access the public network, first pull down the application image and database image:
docker pull registry.cn-shanghai.aliyuncs.com/nocobase/nocobase:latest-full
docker pull registry.cn-shanghai.aliyuncs.com/nocobase/postgres:16
Then export as offline file:
docker save -o nocobase-app.tar \
registry.cn-shanghai.aliyuncs.com/nocobase/nocobase:latest-full
docker save -o nocobase-postgres.tar \
registry.cn-shanghai.aliyuncs.com/nocobase/postgres:16
If you still need commercial plug-ins, it is also recommended to prepare the plug-in package in the external network environment and then bring it into the intranet together.
Prepare at least these documents:
nocobase-app.tarnocobase-postgres.tardocker-compose.yml.env or your own deployment instructionsdocker load -i nocobase-app.tar
docker load -i nocobase-postgres.tar
After preparing docker-compose.yml, start directly:
docker compose up -d
docker compose logs -f app
If you haven't written a compose file yet, first read Installation via Docker Compose and save the examples there locally.
If Docker cannot be used in your intranet environment, you can also use create-nocobase-app to create a complete project in the external network environment, install dependencies and package it, and then copy the entire project to the intranet server.
This path will be longer, but more practical in environments without container capabilities. The overall process is usually:
.env and start the application.