170 lines
7.9 KiB
Django/Jinja
170 lines
7.9 KiB
Django/Jinja
<configuration version="37">
|
|
{% for folder in profile.folders %}
|
|
<folder id="{{ folder.id }}" label="{{ folder.label }}" path="{{ folder.path }}" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
|
|
<filesystemType>basic</filesystemType>
|
|
{% for device in folder.devices %}
|
|
<device id="{{ device }}" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
{% endfor %}
|
|
<minDiskFree unit="%">1</minDiskFree>
|
|
<versioning>
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
<fsPath></fsPath>
|
|
<fsType>basic</fsType>
|
|
</versioning>
|
|
<copiers>0</copiers>
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
<hashers>0</hashers>
|
|
<order>random</order>
|
|
<ignoreDelete>false</ignoreDelete>
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
<pullerPauseS>0</pullerPauseS>
|
|
<maxConflicts>10</maxConflicts>
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
<paused>false</paused>
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
<markerName>.stfolder</markerName>
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
<disableFsync>false</disableFsync>
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
|
<syncOwnership>false</syncOwnership>
|
|
<sendOwnership>false</sendOwnership>
|
|
<syncXattrs>false</syncXattrs>
|
|
<sendXattrs>false</sendXattrs>
|
|
<xattrFilter>
|
|
<maxSingleEntrySize>1024</maxSingleEntrySize>
|
|
<maxTotalSize>4096</maxTotalSize>
|
|
</xattrFilter>
|
|
</folder>
|
|
{% endfor %}
|
|
{% for device in profile.devices %}
|
|
<device id="{{ device.id }}" name="{{ device.name }}" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>dynamic</address>
|
|
<paused>false</paused>
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
<untrusted>false</untrusted>
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
</device>
|
|
{% endfor %}
|
|
<gui enabled="true" tls="false" debugging="false">
|
|
<address>127.0.0.1:40465</address>
|
|
<apikey>{{ profile.apikey }}</apikey>
|
|
<theme>default</theme>
|
|
</gui>
|
|
<ldap></ldap>
|
|
<options>
|
|
<listenAddress>tcp://0.0.0.0:38639</listenAddress>
|
|
<listenAddress>dynamic+https://relays.syncthing.net/endpoint</listenAddress>
|
|
<listenAddress>quic://0.0.0.0:38639</listenAddress>
|
|
<globalAnnounceServer>default</globalAnnounceServer>
|
|
<globalAnnounceEnabled>true</globalAnnounceEnabled>
|
|
<localAnnounceEnabled>true</localAnnounceEnabled>
|
|
<localAnnouncePort>21027</localAnnouncePort>
|
|
<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<reconnectionIntervalS>60</reconnectionIntervalS>
|
|
<relaysEnabled>true</relaysEnabled>
|
|
<relayReconnectIntervalM>10</relayReconnectIntervalM>
|
|
<startBrowser>true</startBrowser>
|
|
<natEnabled>true</natEnabled>
|
|
<natLeaseMinutes>60</natLeaseMinutes>
|
|
<natRenewalMinutes>30</natRenewalMinutes>
|
|
<natTimeoutSeconds>10</natTimeoutSeconds>
|
|
<urAccepted>3</urAccepted>
|
|
<urSeen>3</urSeen>
|
|
<urUniqueID>{{ profile.usage_report_unique_id }}</urUniqueID>
|
|
<urURL>https://data.syncthing.net/newdata</urURL>
|
|
<urPostInsecurely>false</urPostInsecurely>
|
|
<urInitialDelayS>1800</urInitialDelayS>
|
|
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
|
|
<upgradeToPreReleases>false</upgradeToPreReleases>
|
|
<keepTemporariesH>24</keepTemporariesH>
|
|
<cacheIgnoredFiles>false</cacheIgnoredFiles>
|
|
<progressUpdateIntervalS>5</progressUpdateIntervalS>
|
|
<limitBandwidthInLan>false</limitBandwidthInLan>
|
|
<minHomeDiskFree unit="%">1</minHomeDiskFree>
|
|
<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
|
|
<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
|
|
<tempIndexMinBlocks>10</tempIndexMinBlocks>
|
|
<trafficClass>0</trafficClass>
|
|
<setLowPriority>true</setLowPriority>
|
|
<maxFolderConcurrency>0</maxFolderConcurrency>
|
|
<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
|
|
<crashReportingEnabled>true</crashReportingEnabled>
|
|
<stunKeepaliveStartS>180</stunKeepaliveStartS>
|
|
<stunKeepaliveMinS>20</stunKeepaliveMinS>
|
|
<stunServer>default</stunServer>
|
|
<databaseTuning>auto</databaseTuning>
|
|
<maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB>
|
|
<announceLANAddresses>true</announceLANAddresses>
|
|
<sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade>
|
|
<connectionLimitEnough>0</connectionLimitEnough>
|
|
<connectionLimitMax>0</connectionLimitMax>
|
|
<insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions>
|
|
</options>
|
|
<defaults>
|
|
<folder id="" label="" path="~" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
|
|
<filesystemType>basic</filesystemType>
|
|
<device id="{{ profile.default_device_id }}" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
<minDiskFree unit="%">1</minDiskFree>
|
|
<versioning>
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
<fsPath></fsPath>
|
|
<fsType>basic</fsType>
|
|
</versioning>
|
|
<copiers>0</copiers>
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
<hashers>0</hashers>
|
|
<order>random</order>
|
|
<ignoreDelete>false</ignoreDelete>
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
<pullerPauseS>0</pullerPauseS>
|
|
<maxConflicts>10</maxConflicts>
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
<paused>false</paused>
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
<markerName>.stfolder</markerName>
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
<disableFsync>false</disableFsync>
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
|
<syncOwnership>false</syncOwnership>
|
|
<sendOwnership>false</sendOwnership>
|
|
<syncXattrs>false</syncXattrs>
|
|
<sendXattrs>false</sendXattrs>
|
|
<xattrFilter>
|
|
<maxSingleEntrySize>1024</maxSingleEntrySize>
|
|
<maxTotalSize>4096</maxTotalSize>
|
|
</xattrFilter>
|
|
</folder>
|
|
<device id="" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>dynamic</address>
|
|
<paused>false</paused>
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
<untrusted>false</untrusted>
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
</device>
|
|
<ignores></ignores>
|
|
</defaults>
|
|
</configuration>
|