新增docker一键部署方案

This commit is contained in:
朱耘稷
2021-01-07 12:36:36 +08:00
parent e4c2e9906a
commit 444fe6baaf
8 changed files with 273 additions and 6 deletions

View File

@ -47,7 +47,7 @@ spring:
config:
multi-statement-allow: true
redis:
host: localhost # Redis服务器地址
host: 172.30.0.10 # Redis服务器地址
database: 5 # Redis数据库索引默认为0
port: 6399 # Redis服务器连接端口
password: 6379@@6379 # Redis服务器连接密码默认为空
@ -90,8 +90,8 @@ swagger:
# 文件存储路径
file:
path: /www/wwwroot/thapi.xinxintuan.co/upload/file/
avatar: /www/wwwroot/thapi.xinxintuan.co/upload/avatar/
path: /home/yshop/file/
avatar: /home/yshop/avatar/
# 文件大小 /M
maxSize: 100
avatarMaxSize: 5