Code Monkey home page Code Monkey logo

fdroid-mirror-docker's Introduction

fdroid-mirror-docker

Small dockerfile to support the fdroid network with an additional repo mirror.

Table of Contents

About the Project

I want to contribute to a project I personally use. So I started to wirte a dockerfile to easily support the fdroid network with another mirror. Right now only the main repo will be mirrored.

Getting Started

Have ~50GB free space for the "main" repo and optional ~150 GB space for the archive. Create an docker volume, get some monitoring environment done and start the container. For more information visit https://f-droid.org/en/docs/Running_a_Mirror/

Requirements

  • docker
  • JrCs docker environment for a reverse proxy and certificates
  • rsync password from fdroid

Installation

docker build -t fdroid-mirror --build-arg domain=your.domain.tld --build-arg \
RSYNC_PASSWORD=thepassword --no-cache .

docker volume create fdroid-repo

Usage

docker run --name fdroid-mirror-repo -d --cap-add NET_ADMIN \
-v fdroid-repo:/var/www/fdroid/fdroid/repo/ fdroid-mirror:latest

Contact

Dominik

Todo

  • Complete the readme
  • Checkout some docker best practices to make a proper docker file
  • Improve fixes
  • Add archive
  • Create an docker hub account

Fix

  • Limit Bandwidth: docker exec -t containername tc qdisc add dev eth0 root tbf rate 5mbit burst 32kbit latency 400ms

fdroid-mirror-docker's People

Contributors

fi-do avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.