Skip to content

Latest commit

 

History

History
70 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

70 lines (38 loc) · 1.11 KB

Nextcloud with Docker

Installation

git clone [email protected]: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