fix 修复 docker业务集群部署与文件上传的问题

This commit is contained in:
疯狂的狮子li 2021-07-13 13:11:37 +08:00
parent 15c45eae11
commit 6bf38a806c
3 changed files with 4 additions and 1 deletions

View File

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

View File

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

View File

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