FOSSFEEDWhere activity matters more than stars. Discover Fire Pit Noted Submit a project
← All articles

Oxynote: Self-Hosted Wiki with Live Metrics (Docker Guide)

Oxynote is an open-source, self-hosted wiki built for engineering teams. This guest guide covers Docker installation and its live metrics integration.

Hi, I'm David, one of the developers behind Oxynote. I've been a software engineer for 8+ years, and for a long time the most reliable documentation at my job was a Slack chat with myself. Grafana links, curl requests against other teams' services, notes on what was deployed where. I tried moving it all to Notion, but the docs and the charts they described kept drifting apart.

Oxynote is what I wanted instead. It's an open-source, self-hosted internal wiki for engineering teams. A page can hold a live chart that runs its own query against Prometheus, PostgreSQL, or MySQL, right next to the paragraph explaining it. Pages are edited together in real time, with comments and an inbox. When a page matters, changes go through a draft, a diff, and approval, like a pull request.

In this guide, I'll show you how to get Oxynote running with Docker and what to do once you log in.

What You Need #

  • A machine with Docker installed (Linux, macOS, or Windows, amd64 or arm64)
  • Port 8080 free, or any other port you prefer

That's it. Oxynote ships as a single container with a built-in database, so you don't need to set up anything else.

Installing Oxynote #

Option 1: Docker Run #

The quickest way to try it is one command:

docker run -d --name oxynote \
  -p 8080:8080 \
  -v oxynote_data:/oxynote/data \
  ghcr.io/oxynote/oxynote:latest

The first start takes only a few seconds. Every log line is JSON, so to follow just the startup steps, filter for the launcher:

docker logs -f oxynote 2>&1 | grep launcher

On the first start, it generates its secrets, creates the embedded database, and starts each service in turn:

{"level":"INFO","time":"2026-10-12T12:30:49.027Z","service":"launcher","msg":"generated secret auth-secret"}
...
{"level":"INFO","time":"2026-10-12T12:30:50.309Z","service":"launcher","msg":"created the embedded database"}
{"level":"INFO","time":"2026-10-12T12:30:50.828Z","service":"launcher","msg":"postgres is ready"}
{"level":"INFO","time":"2026-10-12T12:30:51.372Z","service":"launcher","msg":"core is ready"}
{"level":"INFO","time":"2026-10-12T12:30:51.961Z","service":"launcher","msg":"auth-realtime is ready"}
{"level":"INFO","time":"2026-10-12T12:30:53.375Z","service":"launcher","msg":"web is ready"}
{"level":"INFO","time":"2026-10-12T12:30:53.890Z","service":"launcher","msg":"caddy is ready"}
{"level":"INFO","time":"2026-10-12T12:30:53.892Z","service":"launcher","msg":"oxynote is up at http://localhost:8080"}
{"level":"INFO","time":"2026-10-12T12:30:53.892Z","service":"launcher","msg":"database embedded, email off, github app off, slack app off, ai assistant off, change detection off"}

Once you see oxynote is up, it's ready. The last line shows which optional features are on.

Option 2: Docker Compose #

For something you'll keep running, Docker Compose is easier to manage. Create a docker-compose.yaml:

services:
  oxynote:
    image: ghcr.io/oxynote/oxynote:latest
    ports:
      - "8080:8080"
    volumes:
      - oxynote_data:/oxynote/data
    stop_grace_period: 60s
    restart: unless-stopped

volumes:
  oxynote_data:

Then start it:

docker compose up -d

The oxynote_data volume holds the database, uploaded images, and the search index, so back it up like any other data you care about. The stop_grace_period gives Oxynote time to save open documents when the container stops.

Running It on a Different Port or Domain #

Oxynote assumes it's reached at http://localhost:8080. If you open it from another address, tell it with OXYNOTE_PUBLIC_URL:

    environment:
      - OXYNOTE_PUBLIC_URL=http://192.168.1.50:8080

For a real domain, put a reverse proxy with TLS in front of it and set OXYNOTE_PUBLIC_URL=https://wiki.example.com. HTTPS also turns on the MCP server, which I'll cover later.

First Login #

Open http://localhost:8080. The login page shows the default admin credentials:

Oxynote login page showing the default admin email and password

After logging in, you land in your first workspace with a Welcome to Oxynote! page. It's both a working example and a checklist. The charts on the right are live metric blocks, so you can open their settings to see how they're built.

Oxynote's Welcome page with a getting started checklist next to a live time series chart and two gauges

Change the Default Credentials #

Do this first. Click the workspace name in the top left, open Settings, and change both the email and the password in the Profile section. You can also rename the workspace and set its logo further down.

Profile settings with the email, username and Change password options

Without email configured, Oxynote still works. To invite teammates, copy the invitation link from the member list and send it yourself. If you want Oxynote to send emails, set OXYNOTE_SMTP_DSN and OXYNOTE_EMAIL_FROM_ADDRESS.

Connecting a Data Source #

Open Settings again and scroll to External Data Sources. Oxynote currently supports Prometheus, PostgreSQL, MySQL, and MariaDB (with more to come). Click Connect next to the one you run and fill in its address. Username and password are optional for servers that don't need them. For SQL databases, Oxynote only needs read access, and it rejects users with write access, so create a read-only user. We also highly recommend giving that user access only to views with the data your charts need, so Oxynote can't read anything it shouldn't.

Connect Prometheus dialog with nickname, URL and optional username and password fields

Test & Save checks the connection before saving it. The charts on the welcome page use the Demo source from this list, so you can try everything before connecting anything real.

External Data Sources list with Prometheus connected next to the built-in Demo source

If Prometheus runs on the same Docker host, put both containers on the same Docker network and use the container name as the host, like http://prometheus:9090.

Adding a Live Chart to a Page #

Create a page with the + next to Workspace in the sidebar. Write a sentence about what you're monitoring, then on a new line type / and pick Live Metrics (or type %% as a shortcut).

Click Edit Metrics on the new block, choose your data source, and write a query. Any PromQL works. Here I'm charting how many samples Prometheus ingests per second:

sum(rate(prometheus_tsdb_head_samples_appended_total[1m]))

The preview updates as you type. On the right, you can switch between a time series, a bar chart, and a gauge, and set a title, unit, and thresholds.

Edit Live Metrics dialog with a PromQL query, a live chart preview and chart type, title and threshold settings

Close the dialog and the chart lives on the page, right under the text explaining it. It refreshes automatically, and anyone who opens the page sees the latest data.

An Oxynote page with a paragraph explaining a metric and a live Prometheus chart of samples ingested per second below it

You can put several of these blocks side by side to build a small dashboard inside a page.

Reviewing Changes Like a Pull Request #

For pages that matter, like runbooks or on-call docs, you probably don't want anyone to change them unseen. Open the … menu in the top right of a page and click Make Reviewable.

From then on, the page has a Main Version and a Draft Version. Main is protected, and edits happen in the draft. When you turn on Show Changes, the draft is shown as a diff against main. The diff covers blocks too, not just text. Here I renamed the chart and fixed a word in the paragraph, and both show up in one view.

A draft version with Show Changes on, highlighting a reworded sentence and a renamed chart, next to the Approve Draft button

Add reviewers with the + next to Reviewers. Once the draft is approved, merge it from the menu next to the approve button.

Approve Draft button with its menu open, showing Merge Draft into Main

After you merge, the main view shows the new version, and the reviewer's approval stays visible on the page.

The page on its main version after the merge, with the reviewer's approval shown next to Reviewers

Connecting an AI Agent (Optional) #

Oxynote has a built-in MCP server, so tools like Claude Code, Cursor, or Codex can search, read, and edit your pages. You'll find the server URL in Settings under MCP connections.

MCP connections settings showing the server URL and the list of authorized clients

For Claude Code, it's one command:

claude mcp add --transport http oxynote http://localhost:8080/core/api/mcp

The first time the agent uses it, a browser window opens where you log in to Oxynote and authorize the client. Access is split into reading pages, editing pages, and querying data sources. You can revoke a client in the same settings section at any time. The MCP server needs HTTPS, except on localhost, so on a real domain run Oxynote behind a reverse proxy with TLS.

There's also a built-in assistant, Rubber Duck, that works with Anthropic, OpenAI, Google, OpenRouter, or a local model through Ollama. Both are optional, and Oxynote works fine without any AI.

Wrapping Up #

That's Oxynote running on your own hardware, with a live chart next to its explanation and a review flow for the pages that matter. Oxynote is under active development, with new releases almost every week, so expect it to grow quickly.

This guide covers only the basics, and you can find much more by clicking around. Freshness hooks watch what a page depends on, like a GitHub repository or a Docker image, and let you know when the page might be out of date. Comments land in your inbox. Tags group pages across the sidebar, and split documentation blocks put an explanation and a code example side by side. The checklist on the welcome page is a good place to start.

Oxynote is open source under Apache-2.0. If you try it, I'd love to hear what works and what's missing for your setup.

Comments 0

Join the conversation.

Write a comment

No comments yet. Be the first to comment.

Leave a comment

Anonymous comments are reviewed before publication. Sign in to comment as a member.

Navigation