- packages/bridge/Dockerfile: multi-stage build (node:22-alpine) - frontend/Dockerfile: multi-stage build + nginx:alpine - frontend/nginx.conf: proxy /bridge to bridge service - docker-compose.yml: bridge (3456) + frontend (8080) - .dockerignore: exclude backend/node_modules/dist - Fix vite proxy target to port 3456 - .env with bridge vars (AUTH_MODE=dev)
21 lines
935 B
Text
21 lines
935 B
Text
# ─── Bridge Configuration ──────────────────────────────
|
|
BRIDGE_HOST=127.0.0.1
|
|
BRIDGE_PORT=8787
|
|
BRIDGE_TOKEN=dev-secret-token
|
|
AUTH_MODE=dev
|
|
BRIDGE_ALLOWED_BOARDS=*
|
|
COMMAND_TIMEOUT_SECONDS=30
|
|
LOG_TAIL_MAX_LINES=500
|
|
|
|
# ─── Hermes CLI ────────────────────────────────────────
|
|
HERMES_BIN=hermes
|
|
HERMES_HOME=/home/kisskin/.hermes
|
|
|
|
# ─── Telegram (optional, for production) ───────────────
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# ─── Frontend (Vite) ──────────────────────────────────
|
|
# In dev mode the vite proxy handles /bridge → localhost:8787
|
|
# Set VITE_BRIDGE_URL only if frontend talks to bridge directly
|
|
# VITE_BRIDGE_URL=http://localhost:8787/bridge
|
|
# VITE_AUTH_TOKEN=dev-secret-token
|