When to use this
Use this path when:
the frontend is hosted on Vercel
the server is managed through 1Panel
1Panel is responsible for container orchestration, reverse proxying, logs, and volumes
Key files
deploy/docker-compose.prod.ymldeploy/.env.example
Recommended deployment path
From the command line, the simplest path is still:
node scripts/deploy-container.mjs --rebuildFor 1Panel-driven setup:
upload the project to the server, for example
/opt/legendary-inventioncopy
deploy/.env.exampletodeploy/.envreplace at least
DB_PASSWORD,JWT_SECRET,PLUGIN_SIGNATURE_SECRET, andSAAS_JOB_INTERNAL_TOKENcreate a new compose orchestration in 1Panel
point it to
deploy/docker-compose.prod.ymlanddeploy/.envstart the orchestration
Reverse proxy
Expose the backend through a domain such as:
https://api.your-domain.com->http://127.0.0.1:8081
Then point the Vercel frontend rewrite or environment config at that backend domain.
Persistent volumes
Keep MySQL, Redis, uploads, plugin files, and optional Nacos or job logs in Docker volumes rather than bundling local runtime storage into production images.
Production reminders
never commit
.envdo not use example secrets in production
keep public exposure limited to
80/443verify health checks and key business flows after deployment