rusian/hypermirror
Synchronize Hyperbola Project repositories with docker
460
Synchronize Hyperbola repo with docker
$ cat config.env
#
# HyperMirror Options
#
BWLIMIT="0"
SOURCE_URL="rsync://mirror.fsf.org/hyperbola/gnu-plus-linux-libre"
RSYNC_OPTIONS="--exclude='*.links.tar.gz*' --exclude='/other' --exclude='/sources'"
#
# Crontab Options
#
CRONTAB="0 */6 * * *"
$ cat docker-compose.yml
version: '3'
services:
hypermirror:
image: rusian/hypermirror
container_name: hypermirror
env_file: config.env
ports:
- '3000:80'
volumes:
- './data/repo:/srv/repo'
tty: true
restart: always
logging:
options:
max-size: 1g
$ docker-compose up -d
To rebuild this container, copy this repository locally and run:
$ docker build --no-cache --tag rusian/hypermirror -f Dockerfile .
This work is licensed under the GNU GPLv3+
docker pull rusian/hypermirror