The files are stored on the server’s own hard drive. I will provide you with my docker compose and other settings, I hope it helps you!
services:
cron:
image: nextcloud:latest
restart: always
volumes:
- /srv/dev-disk-by-uuid-4d956ca1-ebeb-43bf-9563-6b4bb934082f/BR-DADOS/Aplications/Nextcloud/app:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- app
db:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- /srv/dev-disk-by-uuid-4d956ca1-ebeb-43bf-9563-6b4bb934082f/BR-DADOS/Aplications/Nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxxx
- MYSQL_PASSWORD=xxxx
- MYSQL_DATABASE=xxxx
- MYSQL_USER=xxxx
app:
image: nextcloud:latest
restart: always
ports:
- 8080:80
links:
- db
volumes:
- /srv/dev-disk-by-uuid-4d956ca1-ebeb-43bf-9563-6b4bb934082f/BR-DADOS/Aplications/Nextcloud/app:/var/www/html
environment:
- MYSQL_PASSWORD=xxxx
- MYSQL_DATABASE=xxxx
- MYSQL_USER=xxxx
- MYSQL_HOST=xxxx
occ config:list system:
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"upgrade.disable-web": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxxx",
"xxxx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.1.1",
"overwrite.cli.url": "http:\/\/xxxx",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"overwriteprotocol": "https",
"default_phone_region": "BR",
"enable_previews": true,
"maintenance": false,
"loglevel": 0,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"defaultapp": "",
"maintenance_window_start": 1,
"versions_retention_obligation": "auto,30",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}
* Hardware config:
* Linux running in SSD
* Nextcloud aplication and files in HD 8TB (with one more 8TB backup HD)
* Ram 2x8GB DDR4 2400mhz
* Intel i7-8700
* 12 simultaneous users
It is worth noting that all users access nextcloud through a cloudflare tunnel. I don’t know to what extent internet speed influences the loading of folders, maybe you can help me with this question…
If you need any more information just ask