diff --git a/README.md b/README.md index 2d234f9..1ad181a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,15 @@ -nextcloud -=============== +# nextcloud -docker compose for nextcloud docker image \ No newline at end of file +docker compose for https://github.com/nextcloud/docker/ + +## apache2 revers proxy + +### dependencies +``` +sudo a2enmod proxy_fcgi +``` + +### first start +``` +mkdir data/www +``` diff --git a/backup.sh b/backup.sh index 0975b6d..902f153 100755 --- a/backup.sh +++ b/backup.sh @@ -20,7 +20,7 @@ rm ${dbFile} # backup repositories -tar -cj data/cloud -f "${backupDir}/cloud/${currentDate}.tbz2" +tar -cj data/cloud nextcloud.conf -f "${backupDir}/cloud/${currentDate}.tbz2" # backup config files tar -cj data/conf -f "${backupDir}/conf/${currentDate}.tbz2" diff --git a/docker-compose.yml b/docker-compose.yml index 8034c70..f5be022 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,7 @@ - /tmp volumes: - ./data/cloud/:/srv/cloud/ + - ./data/www/:/var/www/html/ networks: nextcloud-network: ipv4_address: 172.22.5.100