Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
72da65721a
commit
3a6354e2b9
@ -12,6 +12,6 @@ RUN pip install -r /app/requirements.txt
|
|||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
EXPOSE 8502
|
EXPOSE 8501
|
||||||
|
|
||||||
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8502", "--server.headless=true"]
|
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501", "--server.headless=true"]
|
||||||
|
|||||||
@ -263,7 +263,7 @@ If PDF fails, ensure `kaleido` is installed (already in `requirements.txt`).
|
|||||||
|
|
||||||
### Port already in use
|
### Port already in use
|
||||||
```bash
|
```bash
|
||||||
streamlit run app.py --server.port 8502
|
streamlit run app.py --server.port 8501
|
||||||
```
|
```
|
||||||
|
|
||||||
### Bad symbol/data error
|
### Bad symbol/data error
|
||||||
|
|||||||
@ -7,7 +7,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8502}:8502"
|
- "${APP_PORT:-8501}:8501"
|
||||||
environment:
|
environment:
|
||||||
PYTHONDONTWRITEBYTECODE: "1"
|
PYTHONDONTWRITEBYTECODE: "1"
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
@ -16,7 +16,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- maneshtrader_data:/root/.web_local_shell
|
- maneshtrader_data:/root/.web_local_shell
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8502/_stcore/health', timeout=3)\" || exit 1"]
|
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
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user