Skip to content

Commit

Permalink
refactor: 调整生产环境本地存储、日志位置
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Sep 10, 2023
1 parent 566c9a1 commit 2254e55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ local-storage:
avatar: C:\${project.appName}\data\avatar\
## Linux 系统本地存储配置
linux:
file: /data/file/
avatar: /data/avatar/
file: ./data/file/
avatar: ./data/avatar/
## Mac 系统本地存储配置
mac:
file: ~/data/file/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ logging:
level:
top.charles7c: INFO
file:
path: ./logs
path: ../logs

--- ### 接口文档配置
springdoc:
Expand Down Expand Up @@ -172,8 +172,8 @@ local-storage:
avatar: C:\${project.appName}\data\avatar\
## Linux 系统本地存储配置
linux:
file: /data/file/
avatar: /data/avatar/
file: ../data/file/
avatar: ../data/avatar/
## Mac 系统本地存储配置
mac:
file: ~/data/file/
Expand Down
4 changes: 2 additions & 2 deletions docker/continew-admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ MAINTAINER Charles7c [email protected]

ARG JAR_FILE=./bin/*.jar
COPY ${JAR_FILE} /app/bin/app.jar
WORKDIR /app
WORKDIR /app/bin

ENTRYPOINT ["java", \
"-jar", \
"-Djava.security.egd=file:/dev/./urandom", \
"-Dspring.profiles.active=prod", \
"./bin/app.jar"]
"app.jar"]

0 comments on commit 2254e55

Please sign in to comment.