Docker image with the web app and relay, for the home network #94
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!94
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-93-docker-web"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #93
A Docker image that runs NeoKOM for the browser on the home network until there's a public server (#71, D-036).
forge.lysator.liu.se/littlefox/neokom-web(183 MB, published and pullable without login). Caddy serves the web build on 8080, kom-relay listens on 4895 (the port the app expects), and both run as a non-root user. If either process exits, the container stops and Docker restarts it.compose.yamland rundocker compose up -d. Settings go in.env: server, web port, version, allowed origins. The guide also covers updating (including a nightly cron line), logs, phones (with a Chrome flag to try installing over http), LAN security, troubleshooting and removal.tools/web-image.shbuilds and pusheslatest,git-<sha>, andX.Y.Zon a release tag;tools/release.sh --tagnow runs it. It builds with the classic Docker builder too.tools/web-image-smoke.shchecks an image against the devserver: health, page,.wasmMIME type, a Protocol A round trip through the relay, and a browser login.NEOKOM_RELAY_ORIGINS(which compose produces for an unset variable) used to refuse every page. It now means "unset".Verified:
healthy, anddowntakes 2 s.🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8