📦 build(docker-compose): 新增 Docker Compose 部署方案#149
Open
begineer-py wants to merge 1 commit into
Open
Conversation
begineer-py
commented
Jan 24, 2026
- 定义多阶段 Dockerfile 构建前端、后端及 Nginx 镜像。
- 引入 Docker Compose 文件,统一编排 MySQL、Redis、后端和 Nginx 服务。
- 解决 MySQL 8.0 认证插件与旧版 Java 驱动的兼容问题。
- 配置 Nginx 作为前端静态文件服务器和后端 API 网关。
- docker-compose up -d --build啓動後訪問http://localhost:3001
- 目前使用較大鏡像之後會改成alpine
- 定义多阶段 Dockerfile 构建前端、后端及 Nginx 镜像。 - 引入 Docker Compose 文件,统一编排 MySQL、Redis、后端和 Nginx 服务。 - 解决 MySQL 8.0 认证插件与旧版 Java 驱动的兼容问题。 - 配置 Nginx 作为前端静态文件服务器和后端 API 网关。 📦 build(eclipse): 为后端项目添加 Eclipse IDE 配置 - 新增 Eclipse 项目相关文件,如 .project, .classpath, .factorypath。 - 配置 Java 编译器、注解处理器和 Maven 集成设置。 - 统一项目资源编码为 UTF-8。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.