Repository navigation
Open Notebook: new service - #391
Draft
jackspiering wants to merge 2 commits into
Draft
jackspiering wants to merge 2 commits into
jackspiering wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Open Notebook, a self-hosted alternative to NotebookLM, as a new stack with a Tailscale sidecar and a SurrealDB database container.
Why a sidecar: the
lfnovo/open_notebookimage ships notailscaleortailscaled(checked withwhichin the image), and upstream has no Tailscale mode. Upstream is maintained (not archived, v1.15.0 released on 2026-10-04) and publishes the image on Docker Hub, withv1-latestas the recommended tag.Based on upstream's
docker-compose.ymland its Docker Compose and reverse proxy guides, adapted to the template. Differences are documented in the README under "Deviations from the standard setup":tailscalecontainer. The database listens on127.0.0.1only (SURREAL_BIND), so the Tailnet cannot reach it.API_URLis set to the Tailnet address, as upstream's reverse proxy guide requires. Without it the browser calls port5055, which Serve does not publish. This needs a requiredTAILNET_NAME, like Joplin Server.OPEN_NOTEBOOK_ENCRYPTION_KEYandSURREAL_PASSWORDare required and empty in.env, instead of upstream's default values (change-me-to-a-secret-stringandroot).OPEN_NOTEBOOK_PASSWORDis optional./healthof the API on port5055. The database check uses/surreal isready, because that image has no shell.Related Issues
Verification
docker compose config --quietfromservices/open-notebook, with dummy values for the required variablesrumdl check --config .markdownlint.yml .(rumdl 0.2.78) on the whole repository, andgit diff --checkLive test with a copy outside the repository, a test auth key, and the device
rvtest-open-notebook:tailscale,application,db). Each health command was run withdocker exec.GET /healthon port5055returns{"status":"healthy"}./api/healthon port8502returns 404, so the check uses port5055.--resolveto the node's Tailscale IP, because test nodes cannot be reached from the test host.GET /configreturned the Tailnet address asapiUrl.docker compose downandup -d, the notebook was still there.OPEN_NOTEBOOK_PASSWORDset, the API answered 401 without the password and listed notebooks with it. With it empty,/api/auth/statusreports authentication as disabled.127.0.0.1:8000and refused connections on the Tailscale IP.SURREAL_PASSWORDafter the first start made the app fail withThere was a problem with authentication. The README says so.Not run: chat, embeddings, search, and podcasts, because they need an AI provider key. The web interface was not opened in a browser, so I did not check the login screen or the provider setup steps in "First run" in the UI itself. LAN access through the optional
portsblock was not tested.Impact on existing users
Checklist
Additional Context
./open-notebook-data/notebookand./open-notebook-data/surreal. The second is owned by root, because upstream requires the database to run as root.