This started as a collection of docker-compose.yml files I most frequently use on either Raspberry Pi 3 and 4 running Raspberry Pi OS Lite, now called Raspian Lite. This repository still contains those Docker compose files, but also programs I was testing out, but lost interest in, or didn't meet my needs. Whether I use these programs or not all of these compose files should work. Feel free to submit a bug if one is not working for you.
Most can be run as is with a simple "docker-compose up -d".
Some will require minor edits for pathing, etc.
None will work without Docker or Docker Compose installed. Without further ado.
sudo apt update
sudo apt upgrade
sudo apt install apt-transport-https ca-certificates software-properties-common
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
Optional. Add user pi to the docker group. Run docker and docker-compose without sudo.
sudo usermod -aG docker pi
Install docker-compose
sudo apt install docker-compose
git clone https://github.com/slochewie/docker-compose-files.git
This will make a directory called docker-compose-files in $HOME/. I'm not a fan of the directory name.
mv $HOME/docker-compose-files $HOME/docker
For example:
cd $HOME/docker/pihole
docker-compose pull
docker-compose up -d
cd into the directory of the container you wish to upgrade. For example:
cd $HOME/docker/pihole
docker-compose pull
docker-compose up -d
Aaron Wilson https://niteowl.dev