chore: Update Docker configuration for secure API key management

- Add env_file configuration for Docker

- Remove hardcoded API key references
This commit is contained in:
Pascal BIBEHE 2025-05-27 14:23:27 +02:00
parent c462342d44
commit 38e51b4517
2 changed files with 7 additions and 0 deletions

5
.env.template Normal file
View File

@ -0,0 +1,5 @@
# API Keys
FMP_API_KEY=your_api_key_here
# Cache Configuration
CACHE_DURATION_HOURS=24

View File

@ -16,6 +16,8 @@ services:
- STREAMLIT_SERVER_ENABLE_CORS=true - STREAMLIT_SERVER_ENABLE_CORS=true
- STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false - STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
- STREAMLIT_SERVER_BASE_URL_PATH= - STREAMLIT_SERVER_BASE_URL_PATH=
env_file:
- .env
restart: unless-stopped restart: unless-stopped
# etf-portfolio: # etf-portfolio: