fix: upgrade to Node 22 — obsidian-headless requires navigator, WebSocket, fetch globals only available in Node 22+

This commit is contained in:
hermes
2026-04-23 14:15:55 +00:00
parent 1b3fd5f7d7
commit b8ac794479
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -8,12 +8,10 @@ services:
volumes:
# Map your local host folder to the container's vault folder
- ${VAULT_HOST_PATH}:/vault
# Persist the sync session and config so you don't have to 'ob login' on every restart
- ./config:/root/.config/obsidian-headless
env_file:
- .env
environment:
- TZ=UTC
# Enable the experimental WebSocket global required by obsidian-headless
- NODE_OPTIONS=--experimental-websocket