4 Commits

Author SHA1 Message Date
云飞扬
821bbd3898 Pre Merge pull request !250 from 云飞扬/N/A 2025-03-10 03:45:42 +00:00
若依
a6bcebb62b !397 修复actuator暴漏问题
Merge pull request !397 from 威士忌的纯度/N/A
2025-03-10 03:45:34 +00:00
威士忌的纯度
1cb262daa3 修复actuator暴漏问题
Signed-off-by: 威士忌的纯度 <whr888888@vip.qq.com>
2025-03-07 10:22:52 +00:00
云飞扬
062122e762 dockerfile add 命令无法复制,导致没有初始化数据库。
使用数据卷来关联目录

Signed-off-by: 云飞扬 <15678871232@qq.com>
2022-09-14 18:28:23 +00:00
3 changed files with 2 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ services:
ports:
- "3306:3306"
volumes:
- ./mysql/db:/docker-entrypoint-initdb.d
- ./mysql/conf:/etc/mysql/conf.d
- ./mysql/logs:/logs
- ./mysql/data:/var/lib/mysql

View File

@@ -2,6 +2,3 @@
FROM mysql:5.7
# author
MAINTAINER ruoyi
# 执行sql脚本
ADD ./db/*.sql /docker-entrypoint-initdb.d/

View File

@@ -29,7 +29,7 @@ http {
}
# 避免actuator暴露
if ($request_uri ~ "/actuator") {
if ($uri ~ "/actuator") {
return 403;
}