修复docker-compose部署时的依赖问题
This commit is contained in:
@@ -80,9 +80,6 @@ services:
|
|||||||
- STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
- STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
||||||
- STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
- STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
|
||||||
api:
|
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user