Add cache volume for Rails caches

This commit is contained in:
Andreas Nedbal 2020-04-19 21:08:17 +02:00
parent 3989b71944
commit b47c0deb48
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ services:
- redis
volumes:
- ./:/app
- cache:/app/tmp/cache
ports:
- 3000:3000
@ -26,4 +27,7 @@ services:
- 5432:5432
environment:
POSTGRES_PASSWORD: justask
POSTGRES_DB: justask_development
POSTGRES_DB: justask_development
volumes:
cache: