docker compose for nextcloud docker image

.github add github folder 5 years ago
data/conf/ mysql upgrade mariadb 6 years ago
docker rename release version 3 years ago
.env initial commit 6 years ago
.gitignore exlucde config form repository 6 years ago
README.md using stable not latest tag 4 years ago
backup.sh imporve backup script 5 years ago
docker-compose.yml using stable not latest tag 4 years ago
generate_password.sh do not override existing conf file 6 years ago
nextcloud.conf.example using external data dir 6 years ago
README.md

Nextcloud

  • Donate Docker Pulls
  • app: Build Status based on nextcloud-version
  • web: Build Status

Docker compose files for nextcloud

Information

Get additional infos from https://hub.docker.com/_/nextcloud/ and from https://github.com/nextcloud/docker/tree/master/.examples .

occ Command

docker-compose exec --user www-data nextcloud-app php occ [command]

Database

into db console

docker-compose exec nextcloud-database sh -c 'mysql -uroot -p"${MYSQL_ROOT_PASSWORD}"'

restore database from sql file

docker exec -i $(docker container ls -qf name=nextcloud-database) sh -c 'mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" ${MYSQL_DATABASE}' < backup.sql

Update hints

14.0.4 to 14.0.16

If you get a database error for the activity table, please have a look at this issue.

First start

mkdir data/data
chown www-data data/data
./generate_password.sh

Licences