Sign inSign up

rusian/hypermirror

By rusian

•Updated 3 days ago

Synchronize Hyperbola Project repositories with docker

Image
Developer tools
Operating systems
0

9.4K

rusian/hypermirror repository overview

⁠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+⁠

Tag summary

Content type

Image

Digest

sha256:3b440c6ae…

Size

170.5 MB

Last updated

3 days ago

docker pull rusian/hypermirror