dockerguild / nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nextcloud with Docker

Installation

git clone git@github.com:dockerguild/nextcloud.git nextcloud
cd nextcloud
rm -fr .git
git init
git remote add origin <MY_REPOSITORY>

Configure proxy

Requirement : Nginx

Edit vhost config/nginx/proxy.conf and register it to nginx

cp "${PWD}/config/nginx/proxy.conf" /etc/nginx/sites-enabled/nextcloud.conf
service nginx restart

Configure crontab

Edit vhost config/crontab/crontab and register it to crontab

cp "${PWD}/config/crontab/crontab" /etc/cron.d/nextcloud

Usage

Start containers

make start

Restart containers

make restart

Down containers

make down

Update containers

make update

Backup

Before your must configure .make/filesystem and .make/mysql according to your use.

You must also set up an external backup system !

Dump containers files

make filesystem/dump

Dump mysql database

make mysql/dump

Restore containers files

make filesystem/restore

Restore mysql database

make mysql/restore

Crontab

For crontab usage

bash /<MY_PROJECT_PATH>/bin/console.sh dump

About

License:GNU General Public License v3.0


Languages

Language:Makefile 54.4%Language:Shell 45.6%