change docker-compose.yml 挂载配置文件

main
dugulp 2024-08-01 02:33:59 +08:00
parent 15896857f9
commit fdb84e2ddd
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ services:
dockerfile: Dockerfile
# 将配置文件挂载到容器中
volumes:
- ./config:/app/config
- ./config/config.yaml:/root/config.yaml
ports:
- "32235:8080"