mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-16 17:09:09 +00:00
Onda 3 (woodsonl) validada num único board em `.claude/worktrees/batch-w3` sobre `origin/release/v3.8.52` (`4f4c983347b9`), 27 PRs, superfícies protegidas 0. Evidência: `typecheck:core` limpo. i18n drift limpo no board. changelog-integrity ok. file-size ok (170 congelados). complexity 2975/3218 e cognitive-complexity 1357/1437 dentro do baseline. node:test focado: 1868 passaram, 0 falharam. Vitest da UI: 150 passaram em 12 arquivos. Os 38 do RTK caem no `useCallback` nulo de `node_modules/node_modules/react` via zustand, o mesmo React duplicado desta worktree. Onde dois PRs mexiam no mesmo save, o board ficou com os dois comportamentos: escrita parcial de engine por id e a fila/resync do PR que entrou depois. O hash de `.i18n-state.json` do guia de quality-gates entra no follow-up, fora do squash. ⚠️ base-red inherited: #15306 (timeouts de suíte no tip, não neste diff). Obrigado, @woodsonl.
46 lines
3.3 KiB
Plaintext
46 lines
3.3 KiB
Plaintext
# ──────────────────────────────────────────────────────────────────────
|
|
# OmniRoute — Self-Host env (minimal, zero-fee self-host)
|
|
# ──────────────────────────────────────────────────────────────────────
|
|
# cp .env.selfhost.example .env
|
|
# Edit only the two lines marked `# EDIT ME`. Everything else has a sane
|
|
# default. No secrets are baked in — OmniRoute never ships credentials.
|
|
#
|
|
# Full variable reference: docs/guides/DOCKER_GUIDE.md and .env.example
|
|
# ──────────────────────────────────────────────────────────────────────
|
|
|
|
# ── Ports (host-side) ──────────────────────────────────────────────────
|
|
# Dashboard + API + Live-WS. Already match the image defaults.
|
|
DASHBOARD_PORT=20128
|
|
API_PORT=20129
|
|
LIVE_WS_PORT=20132
|
|
|
|
# ── Bind address ───────────────────────────────────────────────────────
|
|
# 127.0.0.1 = loopback only (safe with REQUIRE_API_KEY=false, the default).
|
|
# Set to 0.0.0.0 ONLY when REQUIRE_API_KEY=true OR a reverse proxy
|
|
# enforces auth upstream. Exposing an unauthenticated /v1 proxy on the
|
|
# LAN/WAN lets anyone burn your provider quotas. # EDIT ME if you must.
|
|
APP_BIND_HOST=127.0.0.1
|
|
|
|
# ── Auth ──────────────────────────────────────────────────────────────
|
|
# false = the dashboard and /v1 proxy are open to APP_BIND_HOST's network.
|
|
# true = /v1 requests need an API key (a logged-in dashboard session also works);
|
|
# the dashboard needs login once a password
|
|
# exists. Create the login password in the onboarding wizard on first visit
|
|
# (skipping that step turns dashboard login off, even with
|
|
# REQUIRE_API_KEY=true); after you submit it, the wizard asks for
|
|
# a one-time token from `docker logs omniroute | grep BOOTSTRAP`.
|
|
# # EDIT ME — set true.
|
|
REQUIRE_API_KEY=false
|
|
# INITIAL_PASSWORD=strong-password-here # fill in to pre-seed the dashboard password (an empty value behaves like unset)
|
|
|
|
# ── Memory ceiling (V8 old-space) ──────────────────────────────────────
|
|
# 1024 = dashboard + light chat. Coding agents (long POST /v1/responses
|
|
# bodies) need more — see SELF_HOST_GUIDE.md "sizing". 2048 is a safe
|
|
# default for a single user who runs Claude Code / Codex through it.
|
|
OMNIROUTE_MEMORY_MB=2048
|
|
|
|
# ── Browser-facing origin (optional) ───────────────────────────────────
|
|
# Set ONLY if you expose OmniRoute behind a domain via a reverse proxy.
|
|
# NEXT_PUBLIC_BASE_URL=https://your-domain.example.com
|
|
# BASE_URL=http://omniroute:20128
|