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
@ -27,3 +28,6 @@ services:
environment:
POSTGRES_PASSWORD: justask
POSTGRES_DB: justask_development
volumes:
cache: