This is a customized Lsyncd image used to synchronize volumes on different servers, in your docker-compose or CLI you should provide these three environment variables :
You must have SSH connection between the servers, expose the ssh key to : /root/.ssh/:/root/.ssh/
Expose the local volume to be synchronized to : #local_volume:/mnt/data/
In order to get the log file, expose a local directory to : /var/log/lsyncd/
PS: to have a bi-directional synchronization, run the containers on both servers (don't forget to change the Env variables)
Content type
Image
Digest
Size
6.2 MB
Last updated
about 5 years ago
docker pull habib02/lsyncd-ssh