LAN-reachable mode
By default Sumisura binds to 127.0.0.1 and has no authentication. That is the
design (nothing but your own machine can reach it), not an oversight.
LAN mode is an explicit exception, for checking your applications from a phone on your own home network.
Turning it on
Section titled “Turning it on”In .env:
BIND_ADDR=0.0.0.0LAN_AUTH_TOKEN=<a long random string>Then start with the lan profile:
docker compose --profile lan upEvery /api/* request must now carry the token:
X-Sumisura-Token: <your token>Requests without it get 401. Leaving LAN_AUTH_TOKEN unset skips the check
entirely, so a plain docker compose up behaves exactly as before.
Know what you are turning on
Section titled “Know what you are turning on”There is also no UI yet for storing the token per device — attach the header from whatever client you use.
If you need real remote access, put it behind a VPN (Tailscale, WireGuard) and leave LAN mode off.