Files
gangyan/chat_web_backend/远程数据库配置说明.md

10 lines
748 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 数据库说明(本地部署)
本项目已改为 **仅连接本机** 数据服务(与 Docker 容器一致),不再使用原拷贝来源服务器的公网 MySQL/Redis 地址。
- **MySQL**`127.0.0.1:3306`,库名见 `application-yj.yml`(如 `chat_LLM`root 密码与 `mysql/mysql-8.4.4/docker-compose.yml``MYSQL_ROOT_PASSWORD` 一致(当前常用为 `1234567890`)。
- **Redis**`127.0.0.1:6379`,无密码,与本地 `redis-server` 容器一致。
- **Docker 镜像 tar** 存放目录:`/opt/docker-images`mysql、redis、milvus、minio、etcd 等)。
业务配置请以 `src/main/resources/application-yj.yml` 为准Maven 打包后 JAR 会带上该配置,启动脚本:`backend/start_local.sh`