fix 合并 pr !68 业务集群部署与文件上传的问题

feature/model
疯狂的狮子li 3 years ago
parent 5c8de41b32
commit 79965e30af

@ -82,7 +82,7 @@ services:
volumes: volumes:
# 配置文件 # 配置文件
- /docker/server1/logs/:/ruoyi/server/logs/ - /docker/server1/logs/:/ruoyi/server/logs/
- /docker/server/uploadPath/:/ruoyi/server/uploadPath/ - /docker/ruoyi/uploadPath/:/ruoyi/server/ruoyi/uploadPath/
privileged: true privileged: true
restart: always restart: always
networks: networks:
@ -96,7 +96,7 @@ services:
volumes: volumes:
# 配置文件 # 配置文件
- /docker/server2/logs/:/ruoyi/server/logs/ - /docker/server2/logs/:/ruoyi/server/logs/
- /docker/server/uploadPath/:/ruoyi/server/uploadPath/ - /docker/ruoyi/uploadPath/:/ruoyi/server/ruoyi/uploadPath/
privileged: true privileged: true
restart: always restart: always
networks: networks:

@ -4,7 +4,7 @@ MAINTAINER Lion Li
RUN mkdir -p /ruoyi/server RUN mkdir -p /ruoyi/server
RUN mkdir -p /ruoyi/server/logs RUN mkdir -p /ruoyi/server/logs
RUN mkdir -p /ruoyi/server/uploadPath RUN mkdir -p /ruoyi/server/ruoyi/uploadPath
WORKDIR /ruoyi/server WORKDIR /ruoyi/server

@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径 # 文件路径
profile: ./ruoyi/server/uploadPath profile: ./ruoyi/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: true addressEnabled: true

Loading…
Cancel
Save