Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:fileshare [2024-12-22 Sun wk51 11:46] – [File Sharing] baumkp | docker_notes:fileshare [2025-01-05 Sun wk01 11:25] (current) – [syncthing] baumkp | ||
---|---|---|---|
Line 4: | Line 4: | ||
There have been considered 3 different levels of access as described by the applications used: | There have been considered 3 different levels of access as described by the applications used: | ||
- | * Nextcloud - a full privately hosted publicly accessible file shareing application, | + | *Nextcloud - a full privately hosted publicly accessible file shareing application, |
- | * Privatebin - An encrypted file publicly accessible file sharing server | + | *Syncthing - A files synchronising system |
- | * Syncthing | + | *Unison - A files synchronising system |
+ | *Privatebin - An encrypted file publicly accessible file sharing server | ||
+ | *inotify | ||
=====Nextcloud===== | =====Nextcloud===== | ||
+ | Nextcloud is an open source content collaboration platform. | ||
+ | |||
[[https:// | [[https:// | ||
- | My implementation of [[https:// | + | I have been using Nextcloud and before that Owncloud from which Nextcloud was forked since circa 2013. |
+ | *kptree | ||
+ | *kptree [[https:// | ||
=====syncthing===== | =====syncthing===== | ||
Line 16: | Line 23: | ||
Syncthing is a **free and open source** peer-to-peer file synchronization application available for Windows, macOS, Linux, Android, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into its design. Version 1.0 was released in January 2019 after five years in beta. | Syncthing is a **free and open source** peer-to-peer file synchronization application available for Windows, macOS, Linux, Android, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into its design. Version 1.0 was released in January 2019 after five years in beta. | ||
+ | |||
+ | The following is a systemd service file that can be used to start the syncthing service. | ||
+ | ++++syncthing@.service| | ||
+ | < | ||
+ | Description=Syncthing - Open Source Continuous File Synchronization for %I | ||
+ | Documentation=man: | ||
+ | After=network.target | ||
+ | StartLimitIntervalSec=60 | ||
+ | StartLimitBurst=4 | ||
+ | |||
+ | [Service] | ||
+ | User=%i | ||
+ | ExecStart=/ | ||
+ | Restart=on-failure | ||
+ | RestartSec=1 | ||
+ | SuccessExitStatus=3 4 | ||
+ | RestartForceExitStatus=3 4 | ||
+ | |||
+ | # Hardening | ||
+ | ProtectSystem=full | ||
+ | PrivateTmp=true | ||
+ | SystemCallArchitectures=native | ||
+ | MemoryDenyWriteExecute=true | ||
+ | NoNewPrivileges=true | ||
+ | |||
+ | # Elevated permissions to sync ownership (disabled by default), | ||
+ | # see https:// | ||
+ | # | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target</ | ||
+ | |||
+ | '' | ||
+ | |||
+ | To use example: '' | ||
====References==== | ====References==== | ||
Line 42: | Line 84: | ||
====Reference==== | ====Reference==== | ||
+ | *The Linux Code [[https:// | ||
+ | *Arch Linux [[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
Line 49: | Line 96: | ||
=====privatebin===== | =====privatebin===== | ||
[[https:// | [[https:// | ||
- | + | ====Reference==== | |
- | [[https:// | + | |
+ | *[[https:// | ||
+ | | ||
=====inotify===== | =====inotify===== | ||
Line 58: | Line 106: | ||
---- | ---- | ||
- | <- docker_notes: | + | <- docker_notes: |