From a62db38d8bcfac3ba226e283bd3561280c64e26e Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Wed, 28 Feb 2024 20:45:13 +0800 Subject: [PATCH] Add cache volumes to production.yml --- production.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/production.yml b/production.yml index 52585e2..0070c3e 100644 --- a/production.yml +++ b/production.yml @@ -56,6 +56,9 @@ services: image: streamlit_fin_production container_name: streamlit_fin_app restart: always + volumes: + - ${PWD}/cache/bar_cache.sqlite:/app/bar_cache.sqlite + - ${PWD}/cache/short_cache.sqlite:/app/short_cache.sqlite expose: - ${STREAMLIT_FIN_SERVER_PORT} networks: