Skip to content

Commit

Permalink
fix "named" volume
Browse files Browse the repository at this point in the history
Warning: the mapping "project:/www" in the volumes config for service "nginx" is ambiguous. In a future version of Docker, it will designate a "named" volume (see moby/moby#14242). To prevent unexpected behaviour, change it to "./project:/www"
  • Loading branch information
sokrat committed Nov 27, 2015
1 parent 514ee42 commit 3f45823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ nginx:
links:
- php
volumes:
- project:/www
- docker/nginx/conf.d:/etc/nginx/conf.d
- ./project:/www
- ./docker/nginx/conf.d:/etc/nginx/conf.d
ports:
- "8090:80"

Expand Down

0 comments on commit 3f45823

Please sign in to comment.