Update outline to v1.12.0 and serve it over HTTPS (#5765)

Use umbrelOS 2.0 requiresHttps so Outline always opens over HTTPS, and point Outline's URL and the Dex redirect URI at https. The Dex config is now generated entirely by the pre-start hook, since app updates never deliver files under data/, so existing installs get the new redirect URI.
This commit is contained in:
Nathan Fretz authored and GitHub committed 2026-11-13 12:10:18 +10:00
1 parent caf103369b
commit b37acac65a
5 files changed
+47 -59

No files matched your search

View File
Whitespace-only changes.
-27
View File
@@ -1,27 +0,0 @@
issuer: http://${DEVICE_DOMAIN_NAME}:8943/dex
storage:
type: sqlite3
config:
file: /var/dex/dex.db
web:
http: 0.0.0.0:5556
staticClients:
- id: outline
redirectURIs:
- 'http://${DEVICE_DOMAIN_NAME}:${APP_OUTLINE_PORT}/auth/oidc.callback'
name: 'Outline'
secret: ${APP_SEED}
oauth2:
skipApprovalScreen: true
enablePasswordDB: true
staticPasswords:
- email: "umbrel@umbrel.local"
hash: "${PASSWORD_HASH}"
username: "umbrel"
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
+2 -2
View File
@@ -8,7 +8,7 @@ services:
PROXY_AUTH_ADD: "false"
web:
image: outlinewiki/outline:1.7.1@sha256:361df7040e6f0d7abac768b99f40122197921626a7e69501aabb5fcb496fc1b4
image: outlinewiki/outline:1.12.0@sha256:25d6a2ced2f1f0cf03c09abd776d87ba31941ed96d3a99992aa84b3bd0afc074
user: "1000:1000"
restart: on-failure
depends_on:
@@ -22,7 +22,7 @@ services:
DATABASE_URL: postgres://outline:outlinepass@outline_db_1:5432/outline
PGSSLMODE: disable
REDIS_URL: redis://outline_redis_1:6379
URL: "http://${DEVICE_DOMAIN_NAME}:${APP_OUTLINE_PORT}"
URL: "https://${DEVICE_DOMAIN_NAME}:${APP_OUTLINE_PORT}"
PORT: 3000
FILE_STORAGE: local
FILE_STORAGE_LOCAL_ROOT_DIR: /var/lib/outline/data
+32 -7
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
# Generate Dex config from template
# Generate the Dex config. It lives in this hook (not a template under data/)
# because app updates deliver hooks but never the app's data dir.
APP_OUTLINE_PORT="${APP_OUTLINE_PORT:-8942}"
DATA_ROOT="${APP_DATA_ROOT:-${UMBREL_ROOT}/app-data/${APP_ID}/data}"
@@ -9,9 +10,33 @@ DATA_ROOT="${APP_DATA_ROOT:-${UMBREL_ROOT}/app-data/${APP_ID}/data}"
# Using htpasswd from apache2-utils (available in most systems)
PASSWORD_HASH=$(docker run --rm alpine:latest sh -c "apk add --no-cache apache2-utils > /dev/null 2>&1 && htpasswd -bnBC 10 '' '${APP_PASSWORD}' | tr -d ':\n'")
cat "${DATA_ROOT}/config/config.yaml.template" \
| sed "s/\${DEVICE_DOMAIN_NAME}/${DEVICE_DOMAIN_NAME}/g" \
| sed "s/\${APP_OUTLINE_PORT}/${APP_OUTLINE_PORT}/g" \
| sed "s|\${PASSWORD_HASH}|${PASSWORD_HASH}|g" \
| sed "s|\${APP_SEED}|${APP_SEED}|g" \
> "${DATA_ROOT}/config/config.yaml"
mkdir -p "${DATA_ROOT}/config"
cat > "${DATA_ROOT}/config/config.yaml" <<CONFIG
issuer: http://${DEVICE_DOMAIN_NAME}:8943/dex
storage:
type: sqlite3
config:
file: /var/dex/dex.db
web:
http: 0.0.0.0:5556
staticClients:
- id: outline
redirectURIs:
- 'https://${DEVICE_DOMAIN_NAME}:${APP_OUTLINE_PORT}/auth/oidc.callback'
name: 'Outline'
secret: ${APP_SEED}
oauth2:
skipApprovalScreen: true
enablePasswordDB: true
staticPasswords:
- email: "umbrel@umbrel.local"
hash: "${PASSWORD_HASH}"
username: "umbrel"
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
CONFIG
+13 -23
View File
@@ -1,11 +1,11 @@
manifestVersion: 1.1
manifestVersion: 2.0
id: outline
storage:
dataRoot: data
name: Outline
tagline: A modern team knowledge base and wiki
category: files
version: "1.7.1-patch.1"
version: "1.12.0"
port: 8942
description: >-
Outline is a modern, fast, and collaborative knowledge base for growing teams. It combines the best of wikis, documents, and tasks into one beautiful interface that your team will actually want to use.
@@ -38,32 +38,22 @@ gallery:
- 3.webp
- 4.webp
releaseNotes: >-
This update adds support for new storage management and configuration options introduced with umbrelOS 2.0.
Outline now opens over HTTPS on umbrelOS 2.0. Bookmarks and links to the old http:// address will redirect to sign-in again.
Previous Outline 1.7.1 release notes:
New features and improvements since Outline 1.7.1:
- Personal documents, side-by-side split view, date mentions, numbered headings, and toggle headings
- Members can request access to documents they can't view, and read-only users can leave inline comments
- Type [[ to mention or create documents, drag handles on blocks, and rebuilt sidebar drag and drop
- New importers for web pages, PDF, .eml, TextPack, Slab, and Open Knowledge Format
- Many MCP and API improvements, including WebMCP support
- Security hardening across authentication, sharing, and permissions, and the image now runs on Node 26.12.1 to address recently disclosed Node.js vulnerabilities
- The ability to collapse any heading was replaced by toggle headings
New features and improvements in this release:
- Per-share branding lets you override the title and logo on individual public shares
- MCP responses now include breadcrumbs, summaries, and title guidance
- Added delete_document and delete_collection tools to MCP
- Self-hosted instances can now tune rate limiting with the new RATE_LIMITER_MULTIPLIER option
- Default model creation rate limits raised from 10/min to 25/min
- Added a UI element to clear search highlights when navigating to a document from search results
- Improved table-of-contents positioning on shared documents
- Improved sidebar performance
- Shift-Tab on a list item inside a toggle block no longer outdents the entire block
- Code blocks now expand correctly when printing
- API keys created with global read/write scope are now saved correctly
- Republishing a document now correctly updates the last modified user
- Suspended users are no longer counted toward the cached group member count
- Post-login redirects with invalid paths are now handled correctly in Firefox
- Autofocus now works inside lazy-loaded modals and popovers
Full release notes can be found at https://github.com/outline/outline
Full release notes can be found at https://github.com/outline/outline/releases
dependencies: []
path: ""
requiresHttps: true
defaultUsername: "umbrel@umbrel.local"
deterministicPassword: true