Public | Automated Build

Last pushed: 2 years ago
Short Description
rsync-deploy is a docker container serves static files which can be uploaded via rsync.
Full Description

rsync-deploy

rsync-deploy is a docker container serves static files which can be uploaded via rsync.

Usage

Use the following docker-compose.yml:

rsync-deploy:
  build: ./
  ports:
    - "2222:22"
    - "80:80"
  environment:
    DEPLOY_KEY_URL: https://github.com/yourname.keys

Then upload the files via rsync:

rsync -a -e "ssh -p 2222" local_dir rsync@remote_domain:/rsync

The files will be available at http://remote_domain:8080.

Docker Pull Command
Owner
steveltn
Source Repository

Comments (0)