2
0

feat: 调整配置文件

This commit is contained in:
caiyuchao
2024-11-15 18:19:32 +08:00
parent 98c9c358e7
commit 31727f4e5c
7 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ cp ../sql/wfc-config.sql ./mysql/db
# copy html
echo "begin copy html "
cp -r ../wfc-ui/dist/** ./nginx/html/dist
cp -r ../../be.wfc/dist/** ./nginx/html/dist
# copy jar

View File

@@ -22,7 +22,7 @@ services:
build:
context: ./mysql
ports:
- "3307:3306"
- "3306:3306"
volumes:
- ./mysql/conf:/etc/mysql/conf.d
- ./mysql/logs:/logs

View File

@@ -1,6 +1,6 @@
spring.datasource.platform=mysql
db.num=1
db.url.0=jdbc:mysql://localhost:3306/wfc-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.url.0=jdbc:mysql://wfc-mysql:3306/wfc-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user=root
db.password=123456

View File

@@ -25,7 +25,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://wfc-gateway:8080/;
proxy_pass http://192.168.9.50/prod-api/:8080/;
}
# 避免actuator暴露