This reposetory is the collection of comman application which i used in my homelab, I created this repo to help my colleagues.
In my homelab enviroment Rocky Linux is the go to linux distro there are plenty of other good distros available you can choose according to your expertise.
Follow This instruction according to your linux distro
On Rockylinux script
sudo dnf update && sudo apt upgrade -y
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl --now enable docker
To manage docker container application we have multiple ways :-
- Cli base docker-cli
if you know how to use docker-cli and manage everything with docker-cli you should't be on this repo
- Web UI portainer
portainer is a lightweight web UI which allows to manage docker application
This is the simplest way to manage docker just paste this line after distro selection.
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/rocky/all-container-data/portainer:/data portainer/portainer-ce:latest
Now all the complicated task has been completed we can go further and choose whichever application we need from the below software list.
Follow this steps after selection of software
- click on compose file link
- copy the code
- open portainer in your web browser
- got to the stack section
- name your stack(application name)
- paste the copied code below.
Se. No | Name | Discriptions | Compose File | Offecial Doc |
---|---|---|---|---|
1 | portainer | container mgmt UI | Compose file | Github |
2 | homer dashboard | static dashboard | Compose file | Github |
3 | MariaDB | database server | Compose file | Github |
4 | PhpMyAdmin | web gui for database server managment | Compose file | Github |
5 | pihole | DNS sinkhole (ad-blocker) | Compose file | Github |
6 | lychee | photo gallery server | Compose file | github |