feat: 调整配置文件
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
build:
|
||||
context: ./mysql
|
||||
ports:
|
||||
- "3307:3306"
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- ./mysql/conf:/etc/mysql/conf.d
|
||||
- ./mysql/logs:/logs
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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暴露
|
||||
|
||||
Reference in New Issue
Block a user