Giter Site home page Giter Site logo

docker's Introduction

docker services on Raspberry Pi

A collection of docker files and configurations for my home server setup (using a Raspberry Pi 4).

Currently I use the following services:

  • Gitea for self-hosted Git service
  • Nextcloud (with nginx and redis) for syncing and sharing files at home
  • traefik v2 reverse proxy for TLS termination for all my services (including Pi-hole and my routers web interface)
  • drone for CI/CD

The containers can either be started using the shell script or docker-compose. However, please note that the start shell script is most likely outdated since I switched to the use of docker-compose at some point.

Database

I run a MariaDB on the RPI directly and created a custom bridge network in docker that is used by the DB and all services. Therefore, you see the network mynet in the start script and docker-compose.

Backups

I run a backup script (backup.sh in the respective service folder) every night which backs up the data to a second external disk using restic.

More Information

For more information, such as how I set this all up in detail, check out my blog posts: https://mattsch.com/category/raspberry-pi/

docker's People

Contributors

mschoettle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

atomlong eirias

docker's Issues

Add a warning in the readme.md

Something to the effect of

"This does not work"

ERROR: The Compose file './docker-compose.yml' is invalid because:
services.nextcloud.labels contains an invalid type, it should be an object, or an array

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.