Files
ilnmors-homelab/docs/services/app/wikijs.md
T
il 81244d55a7 feat(wiki.js): release wiki.js
deployment notes:
- use this as personal/family wiki system
- compare to affine / memos and triliumNext
2026-05-09 17:50:05 +09:00

2.9 KiB

wiki.js

Prerequisite

Create database

  • Create the password with openssl rand -base64 32
    • Save this value in secrets.yaml in postgresql.password.wikijs
    • Access infra server to create wikijs_db with podman exec -it postgresql psql -U postgres
CREATE USER wikijs WITH PASSWORD 'postgresql.password.wikijs';
CREATE DATABASE wikijs_db;
ALTER DATABASE wikijs_db OWNER TO wikijs;

Create oidc secret and hash

  • Create the secret with openssl rand -base64 32
  • access to auth vm
    • podman exec -it authelia sh
    • authelia crypto hash generate pbkdf2 --password 'wikijs.oidc.secret'
  • Save this value in secrets.yaml in wikijs.oidc.secret and wikijs.oidc.hash
  • !CAUTION! Don't update authelia with ansible-playbook before configuration

Add postgresql dump backup list

- name: Set connected services list
  ansible.builtin.set_fact:
    connected_services:
      - ...
      - "wikijs"

Configuration

Access

Group configuration

  • Administration: Groups: Guests: PERMISSIONS

    • Remove all permissions
  • Administration: Groups: NEW GROUP

    • Users
  • Administration: Groups: Users: PERMISSIONS

    • Grant all permission in CONTENT
  • Administration: Groups: Users: PAGE RULES

    • Allow / Deny: Allow
    • Match: Path starts with
    • Path: empty value
    • Locale: Any / All
    • Permissions:
      • Grant all permission
    • Update Group

OIDC configuration

Storage

  • Administration: Modules: Stroage
    • Local File System
    • Path: /wiki/export
    • Apply

Locale

  • Administration: Site: Locale
    • Download what you needs.
    • Korean, Arabic, French ...