Deployment
For developers responsible for deploying and upgrading AIDeepIn: the complete flow from environment setup and fresh installation to version upgrades.
Fresh Deployment
- All-in-one Docker Compose: single-host quick deployment — backend + Redis + both web apps + nginx with one command
- Per-service Docker deployment: deploy each service with its own compose stack (e.g. admin web on an intranet, user web on a public network)
- Bare-metal deployment: no Docker — run the backend as a JAR and host the web build outputs yourself
Upgrading
- Upgrade: the atomic procedure — backup, stop, database migration, backend/frontend replacement; database rollback is not supported, rehearse in a test environment first