feat: add configurable web interface host port

Add WEB_HTTP_PORT environment variable to configure
the host port for the web interface (port 8888).
Container still uses 8888 internally, but host port
can be customized via .env file.
This commit is contained in:
2025-10-30 20:51:21 -04:00
parent ffa158224d
commit 2d1c356199
2 changed files with 5 additions and 1 deletions

View File

@@ -23,5 +23,9 @@ SEARCH_HTTP_PORT=8001
TRADE_HTTP_PORT=8002
GETPRICE_HTTP_PORT=8003
# Web Interface Host Port (exposed on host machine)
# Container always uses 8888 internally
WEB_HTTP_PORT=8888
# Agent Configuration
AGENT_MAX_STEP=30

View File

@@ -33,5 +33,5 @@ services:
- "${SEARCH_HTTP_PORT:-8001}:8001"
- "${TRADE_HTTP_PORT:-8002}:8002"
- "${GETPRICE_HTTP_PORT:-8003}:8003"
- "8888:8888"
- "${WEB_HTTP_PORT:-8888}:8888"
restart: unless-stopped