• Stars
    star
    1,043
  • Rank 44,174 (Top 0.9 %)
  • Language
    Shell
  • Created about 3 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Raspberry Pi Self Hosted Server Based on Docker / Portainer.io

Pi-Hosted Portainer Template V2

Discord Youtube Twitter URL

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

App Template for Portainer

App Template Image

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/pi-hosted/pi-hosted/master/install_docker.sh | bash

You need to reboot/logout for changes to take effect

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/pi-hosted/pi-hosted/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/pi-hosted/pi-hosted/master/install_portainer.sh | bash
# to update portainer, run this command instead
wget -qO- https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/update_portainer.sh | bash

Login to Portainer to update the App Template.

Goto pi-ip:9000 and then login

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

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

Portainer Architecture

Architecture Tested OS's URL
**Arm32 Pi OS, DietPi https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm32.json
Arm64 Pi OS, Ubuntu, DietPi https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm64.json
Amd64 Ubuntu, Debian https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-amd64.json
  • Amd64 should work on all distros with scripts written for Debian based distros

** Important notice arm32 support is slowly getting dropped we recommend you upgrade to arm64 as soon as possible

Pi-Hosted YouTube series

Pi-Hosted Playlist

Channel Episode Additional Information
N.01 Novaspirit Tech Raspberry Pi 4 Server Setup, Docker Install, Portainer Install, Shell In A Box
N.02 Novaspirit Tech Installing and Configuring Homer Dashboard
N.03 Novaspirit Tech Manually Installing Guacamole on Portainer
N.04 Novaspirit Tech Installing JDownloader and File Browser On The Pi Docker Server
N.05 Novaspirit Tech Torrent with Docker and OPENVPN with Transmission and PIA
N.Extra1 Novaspirit Tech Portainer.io App Template for Raspberry Pi arm/arm64 I Need Your Help!
N.06 Novaspirit Tech Upgrading Portainer and Updating Containers
N.07 Novaspirit Tech Raspberry Pi Docker Monitoring Install Doc
N.08 Novaspirit Tech Installing Nextcloud on Raspberry Pi Docker
N.09 Novaspirit Tech Installing Nginx Proxy Manager on Docker Install Doc
N.10 Novaspirit Tech Setting up Raspberry Pi Samba Server For File Sharing on Docker
N.11 Novaspirit Tech How to Install Whoogle to replace using Google and repo notes
N.12 Novaspirit Tech Checking out Windows 2000 Docker
N.Extra2 Novaspirit Tech 3 Huge Announcements!! Discord Giveaway! Pi-Hosted!! & SBC Garage Sale!
N.13 Novaspirit Tech Beginners Guide to WireGuard Docker and Installing Pi-OS 64bit Install Doc
N.14 Novaspirit Tech My Most used container! Snippet Box
N.15 Novaspirit Tech Rust Desk Open Source Remote Desktop
N.16 Novaspirit Tech Route Docker Traffic Through VPN Container
N.17 Novaspirit Tech Building NAS with Container
N.18 Novaspirit Tech Reviewing Stats on 25+ containers on my Raspberry Pi
N.Extra3 Novaspirit Tech Biggest Update to Pi-Hosted Portainer.io Template!
N.Extra4 Novaspirit Tech Run Android In Docker with this Container!
N.19 Novaspirit Tech Control Multiple Dockers From One Location with Portainer Agent
N.20 Novaspirit Tech Your Personal Weather Station Docker Container
N.21 Novaspirit Tech Hosting Without The Need to Port Forward Using This Trick!

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 branch on 2021/10/05

More Repositories

1

rpi_zram

script to enable zram for raspberry pi
Shell
342
star
2

androidauto_rpi_install

auto install script to install android auto on raspberry pi
Shell
213
star
3

PiPicoMacroKeys

Python
84
star
4

macpanda

clover files for latte panda alpha to boot mac os mojave
81
star
5

Alpine_xfce4_noVNC

Simple and minimal Alpine Docker Image providing XFCE4 with html5 noVNC connection
HTML
69
star
6

oap_start_stop

Python
62
star
7

rpi_ubu64_desktop

53
star
8

rpi_conky

50
star
9

PicoMouseJiggler

Python
44
star
10

img2bytearray

This python program will convert an Image to Bytearray for microcontrollers screens ssd1306 / ssd1106
Python
34
star
11

bluetooth_fm_pi

Setup Script and resources for bluetooth audio fm radio transmitter
Shell
32
star
12

DIY_Camera_Slider

DIY Motorized WiFi Camera Slider
Arduino
21
star
13

rpi_fan_controller

simple python script for controller fan through board pin 6 on raspberry pi
Python
19
star
14

amdgpu-rocm-ubu22

Installing amdgpu drivers for ubuntu to work with davinci resolve and blender
14
star
15

linux_autoclicker

android auto clicke with linux and scrcpy
Shell
13
star
16

antiDDos

Collection of DDOS blocking methods
Shell
12
star
17

pizero_fpv

shell script to start video stream to android
Shell
12
star
18

pizero_startpage

This is the start page i use for raspberry pi zero usb dongle
HTML
12
star
19

wolf-m7m-cpuminer-V2-RPi

cpuminer v2 for raspberry pi
C
10
star
20

pi_timelapse

using raspberry pi camera module and timelapse script
Shell
9
star
21

papirus-nasstats

Python
7
star
22

rpios_desktop

7
star
23

sgminer

sgminer for SBC with MALI GPU
C
7
star
24

pi_gpio_php

Php site to operate gpio pins for raspberry pi
PHP
5
star
25

tinkerboard_Monitor_Script

shell script to read cpu freq - cpu temp - gpu temp for tinkerboard
Shell
5
star
26

tf101-nv-linux

Forked from nvidia.
C
3
star
27

piprox-arch

Install notes for installing arch linux on pi proxmox
3
star
28

disable_journaling

program to disable hfs plus journaling under ubuntu
C
2
star
29

Ubuntu_initrd-3.x

initrd for ubuntu used with 3.1.x
Shell
2
star
30

cm4_repo

1
star
31

tf101-linux-2.6.36

Stable Linux kernel for tf101. kernel version 2.6.36.4
C
1
star
32

eloipool

Python
1
star
33

config

config files for tf101.
1
star
34

android-toolchain-4.5.4

android tool chain linaro 4.5.4
C
1
star
35

ircBot

simple irc bot
PHP
1
star