This script automates the installation of Docker, Portainer-CE, and Nginx Proxy Manager on an Ubuntu-based VPS. It was originally inspired by Brian’s script from Opensource is Awesome, but has been modified to:
- Support only Ubuntu (instead of multiple Linux distributions).
- Exclude additional software installations to allow manual setup of extra applications as needed.
- Run non-interactively without user prompts, ensuring a smooth automated process.
- Installs Docker-CE & Docker-Compose if they are not already installed.
- Sets up Nginx Proxy Manager with default credentials.
- Deploys Portainer-CE for Docker container management.
- Creates a default Docker network for easy container networking.
You can clone this repository or copy the script to your VPS.
git clone https://github.com/e-duMaurier/docker-install.gitEnsure your VPS is running Ubuntu, then execute:
chmod +x setup-docker-apps.sh
./setup-docker-apps.shAfter installation, you can access the following services:
- URL:
http://<server-ip>:81 - Default Login Credentials:
- Username:
admin@example.com - Password:
changeme
- Username:
- URL:
http://<server-ip>:9000 - First-time setup: You will be prompted to create an admin account upon first login.
Originally, I used a more comprehensive setup script from Opensource is Awesome, but I modified it for my specific needs:
- Ubuntu is my preferred OS for VPS—I didn’t need multi-distro support.
- I prefer installing additional applications manually to gain experience setting them up myself.
- This streamlined script automates just the essentials—Docker, Portainer, and Nginx Proxy Manager—without unnecessary complexity.
- Possibly add configurations for firewall rules to enhance security.
- Expand the script to support additional containerized applications.
- Provide an optional configuration file for more flexible setups.
- Inspired by Opensource is Awesome.
- Modified and maintained for personal use.