vault-cortex 0.10.5 → 0.10.7

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.
Files changed (2) hide show
  1. package/dist/env.js +39 -9
  2. package/package.json +1 -1
package/dist/env.js CHANGED
@@ -94,16 +94,31 @@ MEMORY_DIR=About Me
94
94
  # Host port to expose (default: 8000).
95
95
  PORT=8000
96
96
 
97
+ # Client-IP trust for OAuth rate limiting and logs (defaults shown).
98
+ # With nothing in front of the server, leave both untouched — each visitor
99
+ # is identified by their own connection, and faked Forwarded/X-Forwarded-For
100
+ # headers are ignored.
101
+ # With a proxy or tunnel you control in front (Caddy, nginx, Cloudflare
102
+ # Tunnel), set TRUST_PROXY_HOPS=1 so visitors are told apart by their real
103
+ # IP — otherwise they all share one rate-limit budget.
104
+ # Set TRUST_FORWARDED_HEADER=true only if the proxy reports each visitor's
105
+ # IP in the RFC 7239 Forwarded header (e.g. AWS API Gateway).
106
+ # TRUST_PROXY_HOPS=0
107
+ # TRUST_FORWARDED_HEADER=false
108
+
97
109
  # Log verbosity: debug | info | warn | error (default: info).
98
110
  LOG_LEVEL=info
99
111
 
100
- # Directory for persistent log files inside the container.
101
- # Unset by default logs go to stdout only. Set a path to also write
102
- # date-stamped log files there (the /data volume persists them).
103
- # LOG_DIR=/data/logs
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
104
118
 
105
- # Days to retain persistent log files before cleanup (default: 30).
106
- LOG_RETENTION_DAYS=30
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
107
122
 
108
123
  # Windows users: set this to true. Makes a vault stored on a C: drive work
109
124
  # through Docker Desktop (switches the file watcher to polling and note moves
@@ -206,15 +221,30 @@ MEMORY_DIR=About Me
206
221
  # Host port to expose (default: 8000).
207
222
  PORT=8000
208
223
 
224
+ # Client-IP trust for OAuth rate limiting and logs (defaults shown).
225
+ # With nothing in front of the server, leave both untouched — each visitor
226
+ # is identified by their own connection, and faked Forwarded/X-Forwarded-For
227
+ # headers are ignored.
228
+ # With a proxy or tunnel you control in front (Caddy, nginx, Cloudflare
229
+ # Tunnel), set TRUST_PROXY_HOPS=1 so visitors are told apart by their real
230
+ # IP — otherwise they all share one rate-limit budget.
231
+ # Set TRUST_FORWARDED_HEADER=true only if the proxy reports each visitor's
232
+ # IP in the RFC 7239 Forwarded header (e.g. AWS API Gateway).
233
+ # TRUST_PROXY_HOPS=0
234
+ # TRUST_FORWARDED_HEADER=false
235
+
209
236
  # Log verbosity: debug | info | warn | error (default: info).
210
237
  LOG_LEVEL=info
211
238
 
212
239
  # Directory for persistent log files inside the container (default: /data/logs).
213
- # Set to empty to disable file logging (logs still go to stdout either way).
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.
214
244
  LOG_DIR=/data/logs
215
245
 
216
- # Days to retain persistent log files before cleanup (default: 30).
217
- LOG_RETENTION_DAYS=30
246
+ # Days to retain persistent log files before cleanup (default: 90).
247
+ LOG_RETENTION_DAYS=90
218
248
 
219
249
  # User/group IDs for obsidian-sync (default: 1000).
220
250
  PUID=1000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vault-cortex",
3
- "version": "0.10.5",
3
+ "version": "0.10.7",
4
4
  "description": "Set up a Vault Cortex MCP server for your Obsidian vault in one command: npx vault-cortex@latest init",
5
5
  "license": "MIT",
6
6
  "type": "module",