Saminnet-Search Article Wiki Forum Piwigo SNS Cloud vtiger Sugar
NetCloud pi

NetCloud pi

I would like to introduce myツNextCloud ARM containerツfor the Raspberry Pi.

It only weights 475 MB, and it is shares codebase withツNextCloudPi, so it has the same features:

  • Raspbianツ8 Jessie
  • Nextcloudツ12
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.0
  • MariaDB 10
  • Automatic redirection to HTTPS
  • ACPU PHP cache
  • PHP Zend OPcache enabled with file cache
  • HSTS
  • Cron jobs for Nextcloud
  • Sane configuration defaults
  • Secure
  • Small, only 475 MB in disk, 162 MB compressed download.

With this containerization, the user no longer requires to start from scratch in order to run NextCloud in their RPi, as opposed from flashing the NextCloudPi image. It also opens new possibilities for easy upgrading and sandboxing for extra security.

It can be run in any system other that Raspbian, as long as it supports docker.

Some of the extras will be added soon, where it makes sense.

Installation

If you haven窶冲 yet, install docker in your Raspberry Pi.

Adjust permissions. Assuming you want to manage it with the userツpi

Optionally, store containers in an external USB drive. Change the following line (adjust accordingly)

Reload changes

You can check that it worked with

Usage

The only parameter that we need is theツtrusted domainツthat we want to allow.

After a few seconds, you can access from your browserツ just typing the IP or URL in the navigation bar of your browser. It will redirect you to the HTTPS site

The admin user isツadmin, and the default password isツownyourbits. Login to create users, change default password and other configurations.

Other than that, we could map different ports if we wanted to. Note that a volumeツncdataツwill be created where configuration and data will persist.

For example, you could wrap a script like this to allow your current local IP

If you ever need direct access to your storage, you can find out where your files are located.

You can in this way alter yourツconfig.php

Details

The container consists of 3 main layers, totalling 476 MB.

A benefit of docker layers is that we can sometimes just update the upper layers, or provide updates on top of the current layout.

Code

Theツbuild codeツis now part of theツNextCloudPi repository.

You can build it yourself in aツRaspbian ARM environmentツwith.

dockerhub

Comments   

 
0 #1 Guest 2019-08-14 09:43
Hi there, constantly i used to check website posts here in the early hours in the morning, since i enjoy to find out
more and more.

my blog post - cialis buy online
Quote
 

Articles by Date

Category Database

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email