You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	nextcloud
⚠️ IT'S DEPRECATED! PLEASE USE OFFICIAL DOCKER IMAGE: nextcloud
Nextcloud puts your data at your fingertips, under your control.
Server Setup
$ docker-compose up -d
$ docker-compose exec -u www-data nextcloud ./occ files:scan --all
Starting scan for user 1 out of 1 (admin)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 10      | 21    | 00:00:00     |
+---------+-------+--------------+
$ crontab -l
0 * * * * docker exec -u www-data nextcloud_nextcloud_1 ./occ files:scan --all
You can use the occ admin tool.