Skip to content

MartinWegmann/nextcloudpi_compose

 
 

Repository files navigation

Nextcloudpi Compose

Aims to provide everything needed to easily spin up a nextcloud instance in minutes using nextcloudpi docker

Prerequisites

Linux PC with Ubuntu/Debian/Raspian

Works great on Raspberry Pi 4

Setup Raspberry Pi

See Setting up your Raspberry Pi

Install docker and docker-compose

See Geek's Circuit: Install Docker on Raspberry Pi

Mount your data and backup disks

See The Pi Hut: Mount external drive on Raspberry Pi

You can base your fstab on example_fstab in this repo

Setup unattended-upgrades (Optional)

See cyberciti.biz: How to setup automatic updates

Install Borg Backup

sudo apt update && sudo apt install borgbackup

Config

  • Fill in your infos in the .env file

  • Fill in your setup info into the borg_backup_settings.bash

  • Make borg_backup_settings.bash owned by root, so no other user can read the password:

    • sudo chown root:root borg_backup_settings.bash
    • sudo chmod og-rwx borg_backup_settings.bash
  • Add entries to root's crontab based on example_crontab:

    • sudo crontab -e

Start Nextcloud container

docker pull ownyourbits/nextcloudpi:latest

docker-compose up -d

About

NextCloud Setup with Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%