Add volume mounts for cache databases
This commit is contained in:
+3
-3
@@ -46,6 +46,9 @@ services:
|
||||
networks:
|
||||
- net
|
||||
- default
|
||||
volumes:
|
||||
- ${PWD}/cache/bar_cache.sqlite:/app/bar_cache.sqlite
|
||||
- ${PWD}/cache/short_cache.sqlite:/app/short_cache.sqlite
|
||||
|
||||
streamlit-fin:
|
||||
environment:
|
||||
@@ -56,9 +59,6 @@ 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:
|
||||
|
||||
Reference in New Issue
Block a user