Public | Automated Build

Last pushed: a year ago
Short Description
Automated build for rsync docker project on Github uriinf/rsync
Full Description


This is fork from
Link to docker hub

Do not use it as permanent service. It has been created for periodic synchronization and for CI/CD purposes.


Run docker once and synchronize data to /var/www/html:

docker run --rm -p 873:873 -v /var/www/html:/rsync_dir:rw -e RSYNC_DIR="/rsync_dir" -e USERNAME="rsyncuser" -e PASSWORD="rsyncpassword" --name rsync uriinf/rsync

Synchronize data:

RSYNC_PASSWORD=rsyncpassword rsync -a mydomain.com_dir  rsync://rsyncuser@YOUR_HOST:873/data/

Environment Variables:

  • ALLOW - IP addresses to allow connection in CIDR format, support multiple values splitted with space. By default all private networks allowed: ALLOW=""
  • RSYNC_UID - system uid specifies the user name or user ID that file transfers, should be able to read/write to destination directory. default is root. It may be www-data for /var/www/html for example.
  • RSYNC_GID - system gid, look RSYNC_UID, default is root. It may be www-data for /var/www/html for example.
Docker Pull Command
Source Repository