Skip to content

Outline: new service - #438

Merged
jackspiering merged 4 commits into
mainfrom
t3/add-outline-service
Nov 24, 2026
Merged

jackspiering merged 4 commits into
mainfrom
t3/add-outline-service

Conversation

@jackspiering

@jackspiering jackspiering commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Adds a stack for Outline, a team wiki and knowledge base with real-time collaborative editing. The project is active: v1.13.0 came out on 2026-11-15.

  • application runs docker.getoutline.com/outlinewiki/outline:latest, the image and tag of the upstream Docker guide. It is the same digest as outlinewiki/outline:1.13.0, for amd64 and arm64. Serve proxies to port 3000.
  • postgres (postgres:18, as upstream) and redis (redis:8-alpine, which upstream leaves unpinned) use the Compose network, so the Tailnet cannot reach them.
  • .env requires TAILNET_NAME (for URL), SECRET_KEY, UTILS_SECRET, and POSTGRES_PASSWORD, read with :?. The SMTP settings are optional. Email stays off while SMTP_HOST is empty.
  • PGSSLMODE=disable, because Outline connects to PostgreSQL over TLS by default. FILE_STORAGE=local, because the default is S3.
  • ENABLE_UPDATES=false turns off the daily report of the version and the number of users, workspaces, collections, and documents to updates.getoutline.com, which is on by default.
  • The application uses the health check of the image, wget http://localhost:3000/_health, which also checks PostgreSQL and Redis.

Why a sidecar. Outline has no built-in Tailscale support. Its repository has no tailscale or tsnet code, and the image is node:slim plus wget.

Sign-in. Outline has no passwords. A new self-hosted installation shows a "Create workspace" form, which creates the workspace and an admin and signs them in. Passkeys are on by default, so the README tells the admin to add one straight away. Other users need email or single sign-on for their first sign-in. Single sign-on is not wired into compose.yaml, because the OIDC settings fall back to their defaults only when unset, and an empty value would replace them. The README points to an override file instead.

Related Issues

  • None.

Verification

  • docker compose config --quiet from services/outline, with dummy values for the required variables. check-service-list.sh and check-sidecar.sh from CI pass too.
  • The stack started from a copy outside the repository, on a test Tailnet device. All containers became healthy, and each health command passed with docker exec. Through Serve, tested with curl inside the namespace and --resolve <name>.<tailnet>.ts.net:443:<tailscale-ip>:
    • GET / returns 200, with no redirect loop.
    • The /collaboration and /realtime WebSockets upgrade with 101. /realtime rejects a wrong Origin with 400.
  • The main function works, and the data survives a restart:
    • Created the workspace with installation.create. A second call is refused.
    • Added a passkey and signed in with it from a new session, with a software authenticator (ES256, "none" attestation). rp.id is the Serve host name, and the origin check passes.
    • Created a collection, a document, and an attachment through the API. Before the chown from the README, the upload fails with 500 and the log says the folder is not writable. After chown 1001:1001, it works.
    • After docker compose restart, and again after docker compose down and up -d, the document, the attachment, the passkey, and the session were intact.
    • With SMTP pointed at a test-only Mailpit container, users.invite delivered the invite, and the invited user signed in with the link from the sign-in email.
  • ENABLE_UPDATES=false works. It was checked with a Tailscale stub and no Tailnet device, on an internal Compose network, so nothing could leave the machine. Outline's report starts by deleting the Redis key UPDATES_KEY. With false, Redis MONITOR showed no such command. With true as a control, it showed del UPDATES_KEY at startup.
  • rumdl check --config .markdownlint.yml . (0.3.0) on the whole repository, and git diff --check origin/main.

Not tested:

  • The browser flow: the "Create workspace" form and adding a passkey with a real browser and authenticator. The form labels and the settings path in the README come from the source (WorkspaceSetup.tsx and plugins/passkeys).
  • SMTP with TLS (SMTP_SECURE=true) or with a login. Mailpit used neither.
  • Single sign-on.

Impact on existing users

  • None. This is a new service.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date.
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.

Additional Context

  • The optional ports block gives no working LAN address. Outline redirects plain HTTP on port 3000 to HTTPS, which the README lists under the deviations.
  • The root README also aligns four rows of the Productivity table that were already misaligned: Open Notebook, OpenClaw, OpenCloud, and Wallabag.

Add a stack for Outline, a team wiki with real-time collaborative editing,
with PostgreSQL 18 and Redis 8 on the Compose network. It uses the image and
tag from the upstream Compose file, local file storage, and the health check
of the image, which also checks the database and Redis.

Outline has no passwords. A new installation shows a "Create workspace" form
that makes the first user the admin, who then adds a passkey. Email through
SMTP is optional and enables invites and sign-in by link.
@jackspiering
jackspiering marked this pull request as draft November 24, 2026 08:36
@jackspiering jackspiering added the new service request to add a new service label Nov 24, 2026
@jackspiering jackspiering self-assigned this Nov 24, 2026
Set ENABLE_UPDATES=false, so Outline no longer reports its version and the
number of users, workspaces, collections, and documents to
updates.getoutline.com every day. List it under the deviations.
Pad the descriptions of Open Notebook, OpenClaw, OpenCloud, and Wallabag
to the column width of the table.
@jackspiering
jackspiering marked this pull request as ready for review November 24, 2026 09:52
@jackspiering
jackspiering merged commit dcdbda5 into main Nov 24, 2026
2 checks passed
@jackspiering
jackspiering deleted the t3/add-outline-service branch November 24, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new service request to add a new service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants