feat(build): create volumes automatically

This commit is contained in:
Naramsim 2019-01-04 15:36:29 +01:00 committed by Alessandro Pezzè
parent 2fbfdedce0
commit a1d3d9a360

View file

@ -19,10 +19,13 @@ services:
context: .
dockerfile: ./Resources/docker/app/Dockerfile
volumes:
- /code
- .:/code
links:
- db
- cache
depends_on:
- db
- cache
web:
build:
@ -38,6 +41,4 @@ services:
volumes:
pg_data:
external: true
redis_data:
external: true