Docker, Docker Compose, MySQL, MariaDB, phpMyAdmin, Pi-hole, Portainer, PostgreSQL, Prometheus, Grafana, GoSpeed, Watchtower, Container Management, Monitoring, Database Management.
MIT License
This repository provides pre-configured Docker Compose setups for various essential services, including GoSpeed, MySQL with MariaDB and phpMyAdmin, Pi-hole, Portainer, PostgreSQL, and a monitoring stack featuring Prometheus and Grafana.
docker --version # Check the installed Docker version
docker-compose --version # Check the installed Docker Compose version
.dmg
file and drag Docker to Applications.docker --version # Check the installed Docker version
docker-compose --version # Check the installed Docker Compose version
sudo apt remove docker docker-engine docker.io containerd runc # Clean up old installations
sudo apt update # Update package list
sudo apt install apt-transport-https ca-certificates curl software-properties-common # Install prerequisites
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # Add Docker’s GPG key
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # Add Docker repository
sudo apt update # Update package list again
sudo apt install docker-ce docker-compose # Install Docker and Docker Compose
sudo yum remove docker docker-common docker-selinux docker-engine # Clean up old installations
sudo yum install -y yum-utils # Install required utilities
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Add Docker repository
sudo yum install docker-ce # Install Docker
sudo systemctl start docker # Start Docker service
sudo systemctl enable docker # Enable Docker to start on boot
sudo yum install docker-compose # Install Docker Compose via package manager
sudo zypper rm docker docker-engine docker-selinux # Clean up old installations
sudo zypper install docker # Install Docker
sudo systemctl start docker # Start Docker service
sudo systemctl enable docker # Enable Docker to start on boot
sudo zypper install docker-compose # Install Docker Compose via package manager
For installation on other distributions (Debian, Fedora, Arch Linux, etc.), please refer to the official Docker documentation.
Manage Docker as a Non-Root User:
sudo usermod -aG docker $USER # Add current user to the Docker group for non-root access
Log out and back in for changes to take effect.
Verify Docker Installation:
docker run hello-world # Run a test container to verify installation
Configure Docker to Start on Boot:
sudo systemctl enable docker # Set Docker to start automatically on boot
Check Docker Service Status:
sudo systemctl status docker # Check if Docker service is running
Explore Docker Commands:
docker --help # Display available Docker commands
docker ps # List running containers
docker ps -a # List all containers, including stopped ones
Security Practices: Review Docker security best practices to protect your environment.
Regular Maintenance: Keep Docker updated with your package manager to ensure you have the latest features and security patches.
This repository is organized as follows:
.
├── gospeed
│ └── docker-compose.yml
├── mysql-mariadb-phpmyadmin-setup
│ └── docker-compose.yml
├── pihole-setup
│ └── docker-compose.yml
├── portainer-setup
│ └── docker-compose.yml
├── postgresql-setup
│ └── docker-compose.yml
├── prometheus-grafana-setup
│ ├── docker-compose.yml
│ └── prometheus
│ └── prometheus.yml
├── README.md
└── renovate.json
Directory: gospeed/
http://localhost:9999
.Directory: mysql-mariadb-phpmyadmin-setup/
http://localhost:8080
.Directory: pihole-setup/
http://localhost
.Directory: portainer-setup/
http://localhost:9000
.Directory: postgresql-setup/
5432
.Directory: prometheus-grafana-setup/
http://localhost:7070
and Grafana at http://localhost:7071
.docker-compose.yml
as needed.docker-compose up -d # Start services in detached mode
docker-compose down # Stop and remove the containers
This repository uses Renovate to automatically update Docker images and dependencies. The configuration is defined in renovate.json
.
Contributions are welcome! For suggestions or issues, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.