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