移除docker部署相关文件,更新readme和开发文档

This commit is contained in:
2026-06-30 18:28:27 +08:00
parent 3c0aa59691
commit a1bd48dac3
11 changed files with 12 additions and 675 deletions
+6 -24
View File
@@ -117,25 +117,11 @@ Edit `weather-data-ui/.env.development` and set `VITE_APP_API` to your backend U
## Deployment
### Docker Compose
```bash
# Build backend JARs and frontend dist
mvn clean install -DskipTests
cd weather-data-ui && npm run build && cd ..
# Configure environment
cp .env .env.local # Edit passwords in .env.local
# Start all services
docker compose up -d
# Access
# http://localhost -> Frontend (via nginx gateway)
# http://localhost:8080 -> Admin backend
```
Services: MySQL 8.0, Redis 7, Admin (Spring Boot), API (optional, port 8081), UI (nginx), Gateway (nginx reverse proxy, port 80).
1. Build backend: `mvn clean package -DskipTests -f system-admin`
2. Build frontend: `cd weather-data-ui && npm run build`
3. Deploy `system-admin/target/system-admin.jar` and `weather-data-ui/dist/` to server
4. Configure `application-prod.yml` with production DB/Redis settings
5. Start backend: `java -jar system-admin.jar --spring.profiles.active=prod`
### Windows Server
@@ -150,8 +136,4 @@ See `deploy/` directory for one-click deployment scripts (`deploy.bat` / `deploy
- **Data scoping**: Dept-level row-level security via MyBatis-Plus interceptor with `@DataFilter` annotation
- **Dynamic datasource**: Runtime datasource switching via `@DataSource` annotation with ThreadLocal context
- **Job scheduling**: Quartz-based dynamic job management with online start/stop/configure
- **Cloud storage**: Alibaba Cloud OSS, Qiniu, Tencent Cloud COS integration
## License
Apache License 2.0
- **Cloud storage**: Alibaba Cloud OSS, Qiniu, Tencent Cloud COS integration