change docker-compose.yml 挂载配置文件
parent
fdb84e2ddd
commit
d4e13cabca
|
@ -7,6 +7,6 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# 将配置文件挂载到容器中
|
# 将配置文件挂载到容器中
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/config.yaml:/root/config.yaml
|
- ./config/config.yaml:/root/config/config.yaml
|
||||||
ports:
|
ports:
|
||||||
- "32235:8080"
|
- "32235:8080"
|
||||||
|
|
Loading…
Reference in New Issue