feat: Docker化部署完成 - 前端管理后台和AI服务
- 添加 hzhub-admin Dockerfile (Nginx) - 添加 hzhub-admin nginx.conf (API代理、SSE支持、Gzip) - 添加 hzhub-ai Dockerfile (Spring Boot) - 添加 hzhub-gateway Dockerfile - 更新 docker-compose.yml 添加前端和AI服务 - 更新 README.md 完善部署文档 - 配置 application-dev.yml 数据库连接 所有服务现在可通过 docker-compose up -d 一键启动: - hzhub-admin:5666 (管理后台) - hzhub-ai:6039 (AI服务) - mysql:3306, redis:6379, weaviate:28080, n8n:5678
This commit is contained in:
9
hzhub-gateway/Dockerfile
Normal file
9
hzhub-gateway/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM eclipse-temurin:17-jre-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY target/hzhub-gateway.jar app.jar
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
Reference in New Issue
Block a user