You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nachoparker 3a3b709fd9 nc-previews: tweak config 9 hours ago
.github/ISSUE_TEMPLATE fix wrong dash in `sudo ncp-report` 4 weeks ago
bin nc-previews: tweak config 9 hours ago
docker docker: Remove Expose Ports (#946) 4 weeks ago
etc armbian: fix distro check 3 weeks ago
ncp-app ncp-app: bump to NC16 2 months ago
ncp-web ncp-web: avoid quotes in fields 2 months ago
tests test: add some checks 7 months ago
updates nc-previews: tweak config 9 hours ago
.dockerignore build: fully local builds 11 months ago
.gitignore add Vagrantfile 10 months ago
CONTRIBUTING.md update links in CONTRIBUTING.md 2 months ago
README-ZH-TW.md Update README-ZH-TW.md (#941) 3 weeks ago
README.md update README 2 weeks ago
Vagrantfile move to buster/PHP7.3 1 month ago
armbian.sh build: fix armbian activation 2 weeks ago
batch.sh update README 2 weeks ago
build-SD-armbian.sh build: use a system wide config file. Remove sury sources 1 month ago
build-SD-berryboot.sh build: berryboot tested ok 1 year ago
build-SD-rpi.sh raspi: fix dhcp bug 4 weeks ago
build-VM.sh move to buster/PHP7.3 1 month ago
build-docker.sh armbian: fix build 4 weeks ago
buildlib.sh raspi: fix dhcp bug 4 weeks ago
changelog.md nc-snapshot: update btrfs-snp 3 weeks ago
config-bananapi.conf general build improvements 1 year ago
config-odroidxu4.conf general build improvements 1 year ago
config-orangepizeroplus2-h5.conf added config for OrangePi Zero Plus2 H5 1 year ago
config-rock64.conf armbian: update rock64 branch 1 year ago
docker-compose-armhf.yml docker: mount timezone 2 months ago
docker-compose-nc-armhf.yml docker: mount timezone 2 months ago
docker-compose-nc.yml docker: mount timezone 2 months ago
docker-compose-ncpdev.yml add system tests 10 months ago
docker-compose.yml docker: mount timezone 2 months ago
install.sh build: use a system wide config file. Remove sury sources 1 month ago
lamp.sh build: use a system wide config file. Remove sury sources 1 month ago
ncp.sh armbian: fix distro check 3 weeks ago
post-inst.sh build: fix post script 7 months ago
run_update_history.sh nc-snapshot-sync: update btrfs-sync 1 month ago
tag_and_push.sh build: add tag -> changelog -> push script 1 year ago
update.sh armbian: fix distro check 3 weeks ago

README.md

English | Traditional Chinese 繁體中文

NextCloudPi chatroom icon forums icon Donate blog

NC Logo

This is the build code for NextCloudPi.

NextCloudPi is a ready to use image for Raspberry Pi, Odroid HC1, rock64 and other boards.

This code also generates the NextCloudPi docker images for ARM and x86 platforms, and includes an installer for any Debian based system.

Find the full documentation at docs.nextcloudpi.com

Features

  • Debian/Raspbian 10 Buster
  • Nextcloud 16.0.3
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.3
  • MariaDB 10
  • Redis memory cache
  • ncp-config for easy setup ( RAM logs, USB drive and more )
  • Automatic redirection to HTTPS
  • ACPU PHP cache
  • PHP Zend OPcache enabled with file cache
  • HSTS
  • Cron jobs for Nextcloud
  • Sane configuration defaults
  • Full emoji support
  • Postfix email
  • Secure

Extras

  • Setup wizard
  • NextCloudPi Web Panel
  • Wi-Fi ready
  • Ram logs
  • Automatic security updates, activated by default.
  • Let’s Encrypt for trusted HTTPS certificates.
  • Fail2Ban protection against brute force attacks.
  • UFW firewall
  • Dynamic DNS support for no-ip.org
  • Dynamic DNS support for freeDNS
  • Dynamic DNS support for duckDNS
  • Dynamic DNS support for spDYN
  • dnsmasq DNS server with DNS cache
  • ModSecurity Web Application Firewall
  • NFS ready to mount your files over LAN
  • SAMBA ready to share your files with Windows/Mac/Linux
  • USB automount
  • Remote updates
  • Automatic NCP updates
  • Automatic Nextcloud updates
  • Update notifications
  • NextCloud backup and restore
  • NextCloud online installation
  • Format USB drive to BTRFS
  • BTRFS snapshots
  • Automatic BTRFS snapshots
  • BTRFS snapshot auto sync
  • scheduled rsync
  • UPnP automatic port forwarding
  • Security audits with Lynis and Debsecan
  • ZRAM
  • SMART hard drive health monitoring

Extras can be activated and configured using the web interface at HTTPS port 4443

NCP-config

, or from the command line from

sudo ncp-config

NCP-config

Run in docker

docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi $DOMAIN

How to build

Install git, docker, qemu-user-static, chroot and all the usual building tools.

git clone https://github.com/nextcloud/nextcloudpi.git
cd nextcloudpi
./build-SD-rpi.sh

, or for an Armbian based board

./build-SD-armbian.sh odroidxu4   # supported board code name

In order to generate the Docker images

git clone https://github.com/nextcloud/nextcloudpi.git
cd nextcloudpi
./build-docker.sh x86
./build-docker.sh armhf
./build-docker.sh arm64

NextCloudPi can be installed in any architecture running the latest Debian

# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

Downloads

Get the image, find details and more instructions at

https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/

Pull the docker image

https://nextcloudpi.com

https://hub.docker.com/r/ownyourbits/nextcloudpi

Contact

You can find us in the forums and a Telegram group