
Source : https://github.com/mozilla-services/syncstorage-rs
Require : MUSL FRAMEWORK MUST BE INSTALLED ON NAS
QmariaDB is also needed to host DB
Download armv8 , x64
1 ) create a syncstorage emtpy DB in QmariaDB before installation
it assumes QmariaDB use port 3308 and root/qnap (can be changed in QPKG)
change Flags / secret , etc...
first check line in /opt/SyncStorageRS/SyncStorageRS.sh
Code:
export SYNC_HOST=0.0.0.0
export SYNC_MASTER_SECRET="Qnap2021"
export SYNC_DATABASE_URL=mysql://root:qnap@127.0.0.1:3308/syncstorage
also modify config sile : /opt/SyncStorageRS/sync.ini
Code:
HOST=0.0.0.0
MASTER_SECRET=Qnap2021
DATABASE_URL=mysql://root:qnap@127.0.0.1:3308/syncstorage
this is most important FALGS to set , those are the default one ... by default SyncStorageRS listen on all IP on port 8000
secret is set to Qnap2021
other Key are also available , please read : https://github.com/mozilla-services/syncstorage-rs/blob/master/docs/config.md