Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
274c60f8e6
commit
6b921b63b5
@ -16,7 +16,7 @@ services:
|
||||
- ./data:/root/.web_local_shell
|
||||
command: >
|
||||
sh -c "pip install -r requirements.txt &&
|
||||
streamlit run app.py --server.address=0.0.0.0 --server.port=8501 --server.headless=true"
|
||||
streamlit run app.py --server.address=0.0.0.0 --server.port=8502 --server.headless=true"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8501/_stcore/health', timeout=3)\" || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user