Syncthing
Syncthing is a continuous file synchronization service. You’ll need to be able to run it on your local device as well as the Momod server.
Installation
Run the role.
ansible-playbook --limit YOURSERVER play/app/syncthing.yml
Syncthing is installed and runs directly on the host but under a ‘syncthing’ user account. (It’s not containerized.) It can still be started and stopped using systemd. For example here’s how to check the status (you’ll need to use sudo to start or stop the service):
systemctl status syncthing@syncthing
You’ll find the configuration and any shared folders in /home/syncthing should you need to see them, but configuration is more easily done via the GUI, read on to learn how to access the GUI.
Configuration
The Syncthing GUI is only accessible via localhost by default. Momod does not open this up to outside access, instead I suggest accessing the GUI over an ssh tunnel.
For a user named alice on a server named momod the ssh tunnel command would be like this (note that the first port number 4838 must be unused on your local machine, change it if not):
ssh -L 4838:localhost:8384 alice@momod
Once logged in you’ll need to keep the connection open while you access the Syncthing GUI with a web browser. You should be able to do that at http://localhost:4838. (Use whatever port you changed 4838 too if you changed it.)