From f141b6a81b159fe1d689662452fe93ac2471b919 Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 17 Dec 2020 01:31:18 -0600 Subject: [PATCH] chore: cache containers --- app/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/docker-compose.yml b/app/docker-compose.yml index b78e3fe..80e18ee 100644 --- a/app/docker-compose.yml +++ b/app/docker-compose.yml @@ -5,6 +5,8 @@ services: image: redis:6 ports: - 6380:6379 + volumes: + - /sync/src/code/reddichat/node_modules/.cache/@latus/redis:/data mysql: image: mysql:8 @@ -15,3 +17,5 @@ services: - MYSQL_ROOT_PASSWORD=UNSAFE_DEV_PASSWORD ports: - 32342:3306 + volumes: + - /sync/src/code/reddichat/node_modules/.cache/@latus/db:/var/lib/mysql