docker compose for nextcloud docker image
.github | 5 years ago | ||
data/conf/ mysql | 6 years ago | ||
docker | 4 years ago | ||
.env | 6 years ago | ||
.gitignore | 6 years ago | ||
README.md | 4 years ago | ||
backup.sh | 5 years ago | ||
docker-compose.yml | 4 years ago | ||
generate_password.sh | 6 years ago | ||
nextcloud.conf.example | 6 years ago |
Docker compose files for nextcloud
Get additional infos from https://hub.docker.com/_/nextcloud/ and from https://github.com/nextcloud/docker/tree/master/.examples .
docker-compose exec --user www-data nextcloud-app php occ [command]
docker-compose exec nextcloud-database sh -c 'mysql -uroot -p"${MYSQL_ROOT_PASSWORD}"'
docker exec -i $(docker container ls -qf name=nextcloud-database) sh -c 'mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" ${MYSQL_DATABASE}' < backup.sql
If you get a database error for the activity
table, please have a look at this issue.
mkdir data/data chown www-data data/data ./generate_password.sh