mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-04 11:37:37 +00:00
build 部署配置优化
This commit is contained in:
@@ -4,9 +4,9 @@ services:
|
||||
image: dax-start:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "9898:9898"
|
||||
volumes:
|
||||
# 宿主机目录:容器目录 日志映射
|
||||
- /data/logs/dax-start:/logs
|
||||
# 读取外部化配置文件
|
||||
- ./:/
|
||||
# 读取外部化配置文件(根据实际服务器环境做修改), 宿主机目录:容器目录
|
||||
- /data/logs/dax-start:/logs # 日志
|
||||
- /root/dax-pay/application-dev.yml:/application-dev.yml # 配置
|
||||
- /root/dax-pay/logback-spring.xml:/logback-spring.xml # 日志框架
|
||||
|
||||
Reference in New Issue
Block a user