https://github.com/bebehei/mirror-docker
Docker container to serve as file mirror via HTTP and rsync
https://github.com/bebehei/mirror-docker
docker mirror nginx rsync
Last synced: 3 months ago
JSON representation
Docker container to serve as file mirror via HTTP and rsync
- Host: GitHub
- URL: https://github.com/bebehei/mirror-docker
- Owner: bebehei
- License: mit
- Created: 2017-04-04T22:19:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T03:30:05.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T12:50:12.953Z (about 1 year ago)
- Topics: docker, mirror, nginx, rsync
- Language: Shell
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mirror-docker
Container for file mirror via HTTP and rsync.
## Usage
```
docker run -d \
-p 10873:873 \
-p 8080:80 \
-v $PWD/mirror:/mirror \
bebehei/mirror
```
## Restricting access
In default, rsync and http accepts only connections from `192.168.0.0/16` and `172.16.0.0/12`. You can override via the environment variable `ALLOW`.
```sh
docker run -d -p 10873:873 -e ALLOW='10.0.0.0/8 x.x.x.x/y' bebehei/mirror
```
## Origin
Forked from `nabeken/docker-volume-container-rsync` with additions for nginx.