deploy: serve dashboard on Synology port 40059

This commit is contained in:
Jarca
2026-07-11 09:32:23 +09:00
parent 558bfd9dbd
commit e791ff2b3b
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ services:
jarca-ledger:
condition: service_healthy
ports:
- "8501:8501"
- "40059:8501"
environment:
JARCA_LEDGER_DB_PATH: /data/ledger.sqlite3
STREAMLIT_BROWSER_GATHER_USAGE_STATS: "false"
+4 -4
View File
@@ -17,7 +17,7 @@
| MCP transport | `streamable-http` |
| MCP listen | `0.0.0.0:8000` |
| MCP path | `/mcp` |
| Streamlit listen | `0.0.0.0:8501` |
| Streamlit host port | `40059 -> 8501` |
## 배포
@@ -65,8 +65,8 @@ python - <<'PY'
import urllib.request
for url in [
'http://127.0.0.1:8501/_stcore/health',
'http://127.0.0.1:8501/?page=%EC%9A%94%EC%95%BD',
'http://127.0.0.1:40059/_stcore/health',
'http://127.0.0.1:40059/?page=%EC%9A%94%EC%95%BD',
]:
with urllib.request.urlopen(url, timeout=10) as response:
print(url, response.status)
@@ -76,7 +76,7 @@ PY
## 운영 원칙
- `jarca-ledger` 컨테이너는 Docker daemon의 `restart: unless-stopped` 정책으로 독립 실행된다.
- `jarca-ledger-dashboard` 컨테이너는 같은 image와 `/data` volume을 사용하며, Streamlit UI를 `http://<synology-host>:8501`로 제공한다.
- `jarca-ledger-dashboard` 컨테이너는 같은 image와 `/data` volume을 사용하며, Streamlit UI를 `http://<synology-host>:40059`로 제공한다.
- `genichin-agent`는 이 서비스를 배포하거나 실행시키는 필수 구성요소가 아니다.
- 재무관리 에이전트는 `http://<synology-host>:8000/mcp` 또는 같은 Docker network에서 `http://jarca-ledger:8000/mcp`로 접속한다.
- 운영 DB와 import 원본/민감자료는 이미지에 포함하지 않고 `/volume1/docker/jarca-ledger/data`에만 둔다.