Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fileignoreconfig:
ignore_detectors:
- filecontent
- filename: package-lock.json
checksum: 5695a79cc3c8166b253fcdda6704060f7527ea8ab20887a18cc8330478930b6d
checksum: 0190df88f077ce6702274ad4d5c8c2f5507282ccaa008523562bf1ffef93c519
- filename: .husky/pre-commit
checksum: 1b9367d219802de2e3a8af9c5c698e0c255c00af89339d73bdbb8acf5275079f
version: ""
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,23 @@ And here's an example to get you started:
}
```

### Environment Variables

The following environment variables can be used to customize the behavior of Contentstack DataSync Manager:

| Variable | Description | Default |
|--------------|-----------------------------------------------------------------------------|------------------------|
| `TOKEN_PATH` | Path to the directory where token/checkpoint/ledger files are stored. | Project root directory |
| `PLUGIN_PATH`| Path to the directory where plugins are loaded from. | Project root directory |
| `NODE_ENV` | Node.js environment (affects config/environment selection). | `development` |
| `SYNC_ENV` | Overrides the environment used for sync operations. | Value of `NODE_ENV` |
| `KILLDURATION`| Time (in ms) before the process is forcefully killed (overrides config). | Value from config |

**Note:**
- `TOKEN_PATH` is especially useful for storing token data in a custom directory (e.g., for selective re-syncing based on timestamps).
- If a relative path is provided, it is resolved from the project root.
- These variables can be set in your shell or in your process manager configuration.

### Further Reading

- [Getting started with Contentstack DataSync](https://www.contentstack.com/docs/guide/synchronization/contentstack-datasync)
Expand Down
Loading
Loading