Aims to provide everything needed to easily spin up a nextcloud instance in minutes using nextcloudpi docker
Linux PC with Ubuntu/Debian/Raspian
Works great on Raspberry Pi 4
See Setting up your Raspberry Pi
See Geek's Circuit: Install Docker on Raspberry Pi
See The Pi Hut: Mount external drive on Raspberry Pi
You can base your fstab on example_fstab in this repo
See cyberciti.biz: How to setup automatic updates
sudo apt update && sudo apt install borgbackup
-
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
docker pull ownyourbits/nextcloudpi:latest
docker-compose up -d