volumes 用绝对路径
This commit is contained in:
parent
55b476b306
commit
a0ff3671ec
|
@ -12,7 +12,7 @@ services:
|
|||
# 数据卷
|
||||
volumes:
|
||||
# 映射主机./conf.d目录到容器/etc/nginx/conf.d目录
|
||||
- "$PWD/nginx/conf.d:/etc/nginx/conf.d"
|
||||
- "/srv/dco/web/nginx/conf.d:/etc/nginx/conf.d"
|
||||
- "/srv/hd/pub/web/80:/var/www/html"
|
||||
networks:
|
||||
- web_net
|
||||
|
|
Loading…
Reference in New Issue