File tree Expand file tree Collapse file tree 5 files changed +270
-340
lines changed Expand file tree Collapse file tree 5 files changed +270
-340
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ fileignoreconfig:
33 ignore_detectors:
44 - filecontent
55- filename: package-lock.json
6- checksum: 5695a79cc3c8166b253fcdda6704060f7527ea8ab20887a18cc8330478930b6d
6+ checksum: 0190df88f077ce6702274ad4d5c8c2f5507282ccaa008523562bf1ffef93c519
77- filename: .husky/pre-commit
88 checksum: 1b9367d219802de2e3a8af9c5c698e0c255c00af89339d73bdbb8acf5275079f
99version: ""
Original file line number Diff line number Diff line change @@ -154,6 +154,23 @@ And here's an example to get you started:
154154}
155155```
156156
157+ ### Environment Variables
158+
159+ The following environment variables can be used to customize the behavior of Contentstack DataSync Manager:
160+
161+ | Variable | Description | Default |
162+ | --------------| -----------------------------------------------------------------------------| ------------------------|
163+ | ` TOKEN_PATH ` | Path to the directory where token/checkpoint/ledger files are stored. | Project root directory |
164+ | ` PLUGIN_PATH ` | Path to the directory where plugins are loaded from. | Project root directory |
165+ | ` NODE_ENV ` | Node.js environment (affects config/environment selection). | ` development ` |
166+ | ` SYNC_ENV ` | Overrides the environment used for sync operations. | Value of ` NODE_ENV ` |
167+ | ` KILLDURATION ` | Time (in ms) before the process is forcefully killed (overrides config). | Value from config |
168+
169+ ** Note:**
170+ - ` TOKEN_PATH ` is especially useful for storing token data in a custom directory (e.g., for selective re-syncing based on timestamps).
171+ - If a relative path is provided, it is resolved from the project root.
172+ - These variables can be set in your shell or in your process manager configuration.
173+
157174### Further Reading
158175
159176- [ Getting started with Contentstack DataSync] ( https://www.contentstack.com/docs/guide/synchronization/contentstack-datasync )
You can’t perform that action at this time.
0 commit comments