fix: upgrade to Node 22 — obsidian-headless requires navigator, WebSocket, fetch globals only available in Node 22+
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user