Collection of self-hosted services for my personal multi-media home server.
Full credits to this repo for introducing watchtower and overall better documentation.
- traefik - reverse proxy and cert manager
- watchtower - automatic docker images update
- plex - media system
- jellyfin - media system
- nextcloud - file storage
- transmission - torrent client
- foundryvtt - FoundryVTT, a Virtual Table Top for games
- homebridge - (WIP) SmartHome integration with Apple's HomeKit
Each folder has description and usage for individual services, should you wish only do so. Otherwise, an aggregated, "centralized" docker-compose.yml file can be generated via the provided generate_compose.py
file. Please look at the Docker section for further details.
If the aggregated approach is taken, we will need to create the proxy network that other containers use first. This can be done with
docker network create proxy
Some basic knowledge of Docker and Docker Compose would be good, but not required, as it is fairly easy to pick up and learn. For Docker, please refer to this document, and this for Docker Compose.
Note
This guide and individual READMEs assume that your user has been added to the docker group so that all docker
commands can be ran without the need to use sudo
. The guide to so can be found here.
The provided generate_compose.py
script uses my custom Python Library, Vigor to interface with the CLI to generate an aggregated compose file with the correct values from related .env
files. This is done so that each individual service is self-contained within their own subdirectories and can be run independently of each other. But, the intended usage is to pick and choose which services to run for your servers and only generate a compose file for what is needed.
To be specific, Traefik will always be included in the generated compose file as the absolute core, since its needed to serve traffic. The other core services of Borg and Watchtower are optional and can be included manually.
There's a flag to include everything, --all
, which will generate a compose file that includes all possible services. Further extension of this flag to generate specific subsets of services is something that can be considered, but with how many services are in consideration now, it is not of much help for the average user.
To generate and run for just Plex, Transmission and Nextcloud:
./generate_compose plex transmission nextcloud
docker compose run -d
My personal preference is to use images from folks at linuxserver. Feel free to change these Docker images to official or any other 3rd party images.