File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11# KepwareSync.Service (Currently in Beta)
22
3- [ ![ Build Status] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/dotnet .yml/badge.svg )] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions )
3+ [ ![ Build Status] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/syncservice-build .yml/badge.svg )] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions )
44[ ![ Build Status] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/docker-build-and-push.yml/badge.svg )] ( https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions )
55
66## Overview
@@ -149,6 +149,10 @@ The service also supports environment variables for configuration using `AddEnvi
149149| `KEPWARE__PRIMARY__HOST` | https://localhost:57512 |
150150| `KEPWARE__DISABLECERTIFICATEVALIDATION` | true |
151151| `STORAGE__DIRECTORY` | ExportedYaml |
152+ | `KEPWARE__SECONDARY__0__HOST` | https://localhost:57513 |
153+ | `KEPWARE__SECONDARY__0__USERNAME` | SecondaryUser |
154+ | `KEPWARE__SECONDARY__0__PASSWORD` | SecondaryPassword2025! |
155+ | `SYNC__SYNCMODE` | TwoWay
152156
153157Set these variables in your system or Docker container to override appsettings.json.
154158
@@ -178,8 +182,14 @@ The `appsettings.json` file provides an alternative way to configure `KepwareSyn
178182 ]
179183 },
180184 "Storage": {
181- "Directory": "ExportedYaml"
182- }
185+ "Directory": "ExportedYaml",
186+ // "PersistDefaultValue": true
187+ },
188+ // "Sync": {
189+ // "SyncMode": "OneWay",
190+ // "SyncDirection": "KepwareToDiskAndSecondary",
191+ // "SyncThrottlingMs": 1000
192+ // }
183193}
184194` ` `
185195
Original file line number Diff line number Diff line change 1717 ]
1818 },
1919 "Storage" : {
20- "Directory" : " ExportedYaml"
20+ "Directory" : " ExportedYaml" ,
21+ "PersistDefaultValue" : true
22+ },
23+ "Sync" : {
24+ "SyncMode" : " OneWay" ,
25+ "SyncDirection" : " KepwareToDiskAndSecondary" ,
26+ "SyncThrottlingMs" : 1000
2127 }
2228}
You can’t perform that action at this time.
0 commit comments