mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
feat(build): create volumes automatically
This commit is contained in:
parent
2fbfdedce0
commit
a1d3d9a360
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue