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 - redis
volumes: volumes:
- ./:/app - ./:/app
- cache:/app/tmp/cache
ports: ports:
- 3000:3000 - 3000:3000
@ -27,3 +28,6 @@ services:
environment: environment:
POSTGRES_PASSWORD: justask POSTGRES_PASSWORD: justask
POSTGRES_DB: justask_development POSTGRES_DB: justask_development
volumes:
cache: