From 0bbb4a3ce9aaf6e41b87ba980e05358e1e7f29ca Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Thu, 29 Feb 2024 16:46:34 +0800 Subject: [PATCH] Refactor volume mounts in production.yml --- production.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/production.yml b/production.yml index 5653090..7c005e6 100644 --- a/production.yml +++ b/production.yml @@ -47,8 +47,12 @@ services: - net - default volumes: - - ${PWD}/cache/bar_cache.sqlite:/app/bar_cache.sqlite - - ${PWD}/cache/short_cache.sqlite:/app/short_cache.sqlite + - type: bind + source: ${PWD}/cache/bar_cache.sqlite + target: /app/bar_cache.sqlite + - type: bind + source: ${PWD}/cache/short_cache.sqlite + target: /app/short_cache.sqlite streamlit-fin: environment: