Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed Apr 2, 2018
1 parent d8db856 commit 0051232
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@

Command line utility and [Docker] container for running [rsync] on interval.

## Run Container

#### Example #1

Sync files from a remote server on 30 second interval

```bash
docker run --rm \
-v "$(pwd)"/data:/data \
-e RSYNC_PASSWORD=password \
-e IRSYNC_INTERVAL=30 \
-e IRSYNC_FROM="rsync://user@example.com:873/data/" \
-e IRSYNC_TO="./data" \
-e IRSYNC_DELETE=true \
cjimti/irsync:1.0.0
```

## Environment Configuration

Expand Down

0 comments on commit 0051232

Please sign in to comment.