KeePass DeltaSync
End-to-end encrypted delta-sync server for KeePass kdbx databases.
- 1Copy the script below
- 2In HexOS, open Apps, find KeePass DeltaSync and choose Custom Install
- 3Paste, then press Install — full guide with screenshots
1{
12 "version": 5,
23 "script": {
4 "version": "0.1.0",
5 "changeLog": "Auto-generated draft from TrueNAS keepass-deltasync 1.0.6"
6 },
37 "installation_questions": [
8 {
9 "question": "Admin password",
10 "type": "password",
11 "key": "admin_password",
12 "required": true
13 }
14 ],
15 "requirements": {
416 "locations": ["ApplicationsPerformance"],
517 "specifications": ["2CORE"],
618 "permissions": ["READ_WRITE_LOCATIONS"],
719 "ports": [30498]
20 },
821 "ensure_directories_exists": [
22 {"path": "$LOCATION(ApplicationsPerformance)"},
23 {"path": "$LOCATION(ApplicationsPerformance)/keepass-deltasync"},
24 {
25 "path": "$LOCATION(ApplicationsPerformance)/keepass-deltasync/postgres_data",
26 "owner": {"user": "netdata", "group": "docker"},
27 "snapshot": {"id": "postgres_data"}
28 }
29 ],
30 "app_values": {
31 "deltasync": {
932 "db_password": "$RANDOM_STRING(16)",
1033 "admin_password": "$QUESTION(admin_password)"
34 },
35 "storage": {
1136 "postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/keepass-deltasync/postgres_data)"
37 },
38 "network": {
1239 "web_port": {"bind_mode": "published", "port_number": 30498}
40 },
1341 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
42 }
43}
What this script does
Hover or tap a box to see the lines it explains.
-
Script format
Tells HexOS this is a version 5 install script, so it knows how to read the rest.
Line 2
-
Script revision
This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS keepass-deltasync 1.0.6”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Admin password. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–14
-
Storage locations it needs
The app uses these HexOS storage locations: App storage (fast). If one isn't set up yet, HexOS will ask you to pick a place for it.
Line 16
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 17
-
Permission to use your folders
Allows the app to read and write files inside the storage locations listed above — and nowhere else.
Line 18
-
Network ports
The app needs port 30498 to be free on your server. A port is like an apartment number for your server's address.
Line 19
-
Folders created on install
Creates the folders the app needs before it starts: App storage (fast) › keepass-deltasync and App storage (fast) › keepass-deltasync › postgres_data. Some folders are handed to a specific system user so the app is allowed to write to them. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.
Lines 21–29
-
Auto-generated db password
HexOS makes up a long random db password during install. It's only used inside KeePass DeltaSync, so you never need to know it.
Line 32
-
Your answer: admin password
Filled in with what you typed for “admin password” when you installed.
Line 33
-
Where the app's database is saved
Where the app's database is saved on your server: App storage (fast) › keepass-deltasync › postgres_data.
Line 36
-
Web port: 30498
The app's web page is published on port 30498. You don't need to remember it — clicking the app's card in HexOS takes you there.
Line 39
-
Resource limits
Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.
Line 41