rusian/hypermirror

By rusian

Updated about 18 hours ago

Synchronize Hyperbola Project repositories with docker

Image
Operating Systems
Developer Tools

460

Hyperbola Mirror for docker

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

Build container from source

To rebuild this container, copy this repository locally and run:

$ docker build --no-cache --tag rusian/hypermirror -f Dockerfile .

License

This work is licensed under the GNU GPLv3+

Docker Pull Command

docker pull rusian/hypermirror