docker compose for nextcloud docker image

Pascal Gollor authored on 23 Apr
.github add github folder 10 months ago
data/conf/ mysql upgrade mariadb 1 year ago
docker fix bz2 install 1 month ago
.env initial commit 2 years ago
.gitignore exlucde config form repository 2 years ago add hints 3 months ago imporve backup script 10 months ago
docker-compose.yml remove user from cron container 4 months ago do not override existing conf file 2 years ago
nextcloud.conf.example using external data dir 2 years ago


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

Docker compose files for nextcloud


Get additional infos from and from .

occ Command

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


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