vault-cortex 0.10.6 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/env.js +28 -11
- package/dist/optional-settings.js +3 -3
- package/package.json +1 -1
package/dist/env.js
CHANGED
|
@@ -109,13 +109,16 @@ PORT=8000
|
|
|
109
109
|
# Log verbosity: debug | info | warn | error (default: info).
|
|
110
110
|
LOG_LEVEL=info
|
|
111
111
|
|
|
112
|
-
# Directory for persistent log files inside the container.
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
#
|
|
112
|
+
# Directory for persistent log files inside the container (default: none).
|
|
113
|
+
# The container's own log (what \`docker logs\` shows) is always written, but
|
|
114
|
+
# Docker discards it whenever the container is recreated — on image updates
|
|
115
|
+
# or compose changes. Set a path (e.g. /data/logs) to also write date-stamped
|
|
116
|
+
# log files there; the /data volume keeps them.
|
|
117
|
+
LOG_DIR=none
|
|
116
118
|
|
|
117
|
-
# Days to
|
|
118
|
-
|
|
119
|
+
# Days to keep log files before cleanup on startup (default: 90). Only
|
|
120
|
+
# applies once LOG_DIR is a path.
|
|
121
|
+
# LOG_RETENTION_DAYS=90
|
|
119
122
|
|
|
120
123
|
# Windows users: set this to true. Makes a vault stored on a C: drive work
|
|
121
124
|
# through Docker Desktop (switches the file watcher to polling and note moves
|
|
@@ -234,26 +237,40 @@ PORT=8000
|
|
|
234
237
|
LOG_LEVEL=info
|
|
235
238
|
|
|
236
239
|
# Directory for persistent log files inside the container (default: /data/logs).
|
|
237
|
-
#
|
|
240
|
+
# The container's own log (what \`docker logs\` shows) is always written, but
|
|
241
|
+
# Docker discards it whenever the container is recreated — on image updates
|
|
242
|
+
# or compose changes. Log files under LOG_DIR live on the data volume and
|
|
243
|
+
# survive. Set to "none" to keep only the container log.
|
|
238
244
|
LOG_DIR=/data/logs
|
|
239
245
|
|
|
240
|
-
# Days to retain persistent log files before cleanup (default:
|
|
241
|
-
LOG_RETENTION_DAYS=
|
|
246
|
+
# Days to retain persistent log files before cleanup (default: 90).
|
|
247
|
+
LOG_RETENTION_DAYS=90
|
|
242
248
|
|
|
243
249
|
# User/group IDs for obsidian-sync (default: 1000).
|
|
244
250
|
PUID=1000
|
|
245
251
|
PGID=1000
|
|
246
252
|
|
|
247
|
-
# Device name
|
|
253
|
+
# Device name the container reports to Obsidian Sync — labels its changes in the sync log.
|
|
248
254
|
DEVICE_NAME=vault-cortex
|
|
249
255
|
|
|
250
256
|
# Obsidian Sync conflict resolution: merge | conflict (default: merge).
|
|
251
257
|
# 'merge' integrates changes automatically; 'conflict' writes a separate conflict file.
|
|
252
258
|
CONFLICT_STRATEGY=merge
|
|
253
259
|
|
|
254
|
-
# Sync direction: bidirectional | pull-only |
|
|
260
|
+
# Sync direction: bidirectional | pull-only | mirror-remote (default: bidirectional).
|
|
261
|
+
# 'pull-only': server edits are kept locally but never uploaded;
|
|
262
|
+
# 'mirror-remote': server edits are undone, so the server is an exact copy.
|
|
255
263
|
SYNC_MODE=bidirectional
|
|
256
264
|
|
|
265
|
+
# Folders to leave out of sync, comma-separated — the same list as Obsidian's
|
|
266
|
+
# Sync → "Excluded folders". Empty keeps the Sync client's default (nothing excluded).
|
|
267
|
+
SYNC_EXCLUDED_FOLDERS=
|
|
268
|
+
|
|
269
|
+
# Attachment types to sync, comma-separated: image, audio, video, pdf, unsupported —
|
|
270
|
+
# the same toggles as Obsidian's Sync → "Selective sync". Empty keeps the Sync
|
|
271
|
+
# client's default.
|
|
272
|
+
SYNC_FILE_TYPES=
|
|
273
|
+
|
|
257
274
|
# Obsidian settings categories to sync into the server's .obsidian/ folder
|
|
258
275
|
# (default: the two the server reads — daily notes settings and community
|
|
259
276
|
# plugin settings such as the Tasks plugin's format; "none" disables).
|
|
@@ -69,9 +69,9 @@ const OPTIONAL_SETTINGS = [
|
|
|
69
69
|
hint: "receive changes but never push",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
value: "
|
|
73
|
-
label: "
|
|
74
|
-
hint: "
|
|
72
|
+
value: "mirror-remote",
|
|
73
|
+
label: "Mirror remote",
|
|
74
|
+
hint: "receive changes and revert any server-side edit",
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
defaultValue: "bidirectional",
|