Skip to content

Pi-Hosted is a collection of tutorials for hosting a variety of server applications using Docker and Portainer on the Raspberry Pi.

Notifications You must be signed in to change notification settings

kimostberg/dockerpi

 
 

Repository files navigation

DockerPi Portainer Template

Discord Youtube Twitter URL hacktoberfest

This is my verion of Pi-Hosted. I wanted to arrange things my way. All containers in my DockerPi will connect to 2 different networks, frontend and backend. First container to install is Pihole-unbound. everything else will use that container as DNS.

This repository is a collection of tutorials for hosting a variety of server applications using Docker and Portainer.

App Template for Portainer

alt text

Apps List

See the list of Apps included in this template here.

Installation

Run install-docker.sh, to install docker, and add the current user to the docker usergroup.

wget -qO- https://raw.githubusercontent.com/kimostberg/dockerpi/master/install_docker.sh | bash

Script will reboot your system at the end

Pi OS Buster

On Oct 30, 2021 Pi OS bullseye was released and this is no longer needed. Older Pi OS buster releases run an old version of libseccomp that is causing problems with many containers that are preventing them from running. To fix this we need to manually install a newer version of libseccomp. However we first need to check and see if you are running an older version. To check please run sudo dpkg-query -W libseccomp.

sudo dpkg-query -W libseccomp2

If you are running a version less that 2.5 you will need to run the *upgrade script.

wget -qO- https://raw.githubusercontent.com/kimostberg/dockerpi/master/tools/update_libseccomp2.sh | bash
  • The upgrade script is for Pi OS 32bit. Pi OS 64 beta is untested and the upgrade script wont work with it.

Reboot for changes to take effect

sudo reboot

After a reboot, run install-portainer.sh, to install Portainer.io

wget -qO- https://raw.githubusercontent.com/kimostberg/dockerpi/master/install_portainer.sh | bash

To update portainer, run this command (Portainer will use Pi-Hole as DNS after this update, so make sure that it is installed before updating)


wget -qO- https://raw.githubusercontent.com/kimostberg/dockerpi/master/update_portainer.sh | bash

To backup your databases daily, you can run this

wget -qO- https://raw.githubusercontent.com/kimostberg/dockerpi/master/backup/install.sh | bash

Click Settings, in the bottom-left corner, and paste the DockerPi json file link from below into the "App Templates" box.

You're done! Now just click App Templates and deploy applications!

https://raw.githubusercontent.com/kimostberg/dockerpi/master/template/dockerpi-arm32.json 

Novaspirit Pi-hosted YouTube series

Pi-Hosted Playlist

Episode Additional Information
1 Raspberry Pi 4 Server Setup, Docker Install, Portainer Install, Shell In A Box
2 Installing and Configuring Homer Dashboard
3 Manually Installing Guacamole on Portainer
4 Installing JDownloader and File Browser On The Pi Docker Server
5 Torrent with Docker and OPENVPN with Transmission and PIA
Extra1 Portainer.io App Template for Raspberry Pi arm/arm64 I Need Your Help!
6 Upgrading Portainer and Updating Containers
7 Raspberry Pi Docker Monitoring Install Doc
8 Installing Nextcloud on Raspberry Pi Docker
9 Installing Nginx Proxy Manager on Docker Install Doc
10 Setting up Raspberry Pi Samba Server For File Sharing on Docker
11 How to Install Whoogle to replace using Google and repo notes
12 Checking out Windows 2000 Docker

Aditional Documentation

You can find more tutorials and useful information in our GitHub Docs folder.

Included Scripts

Install, Update, Pre-Install and extra scripts can be found in our GitHub Tools folder.

Contributors

See the list of contributors who participated in this project.

Acknowledgment

  • template based on SelfHosted Portainer App Template

About

Pi-Hosted is a collection of tutorials for hosting a variety of server applications using Docker and Portainer on the Raspberry Pi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 58.0%
  • Shell 42.0%