git clone git@github.com:dockerguild/nextcloud.git nextcloud
cd nextcloud
rm -fr .git
git init
git remote add origin <MY_REPOSITORY>
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
Edit vhost config/crontab/crontab
and register it to crontab
cp "${PWD}/config/crontab/crontab" /etc/cron.d/nextcloud
Start containers
make start
Restart containers
make restart
Down containers
make down
Update containers
make update
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
For crontab usage
bash /<MY_PROJECT_PATH>/bin/console.sh dump