From b47c0deb48c944c3aca5782c8deb960c780c3ad0 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 19 Apr 2020 21:08:17 +0200 Subject: [PATCH] Add cache volume for Rails caches --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 90553f7d..42c43d33 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + POSTGRES_DB: justask_development + +volumes: + cache: \ No newline at end of file