I am hosting more than 10 services currently but only Nextcloud sends me errors periodically and only Nextcloud is super extremely painfully slow. I quit this sh*t. No more troubleshooting and optimization.
There are mainly 4 services in Nextcloud I’m using:
Files
: as simple server for upload and download binariesCalendar
(with DAVx5): as sync server without web UINotes
: simple note-takingNetwork folder
: mounted on Linux dolphin
Could you recommend me the alternatives for these? All services are supposed to be exposed by HTTPS, so authentication like login is needed. And I’ve tried note-taking apps like Joplin or trillium but couldn’t like it.
Thanks in advance.
Not OP, but I run it on docker with postgres and redis, behind a reverse proxy. All apps on NC have pretty good performance and haven’t had any weird issues. It’s on an old xeon with 32gb and on spinning rust.
Do you have redis talking to nextcloud over the unix socket or just regular TCP? The former is apparently another way to speed up nextcloud, but I’m struggling to understand to get containers using the unix socket instead.
I have both Postgres and Redis talking to Nextcloud through their respective unix sockets; I store the sockets in a named volume, so I can mount it on whatever containers need to reach them.
Do you mind sharing your docker config, so I can try and replicate it. Thank you
Sure:
POSTGRES
REDIS
Here’s redis.conf, it took me a couple of tries to get it just right:
NEXTCLOUD
The environment.txt file is hostnames, logins, passwords, etc…
The zz-docker.conf file sets some process tuning and log format, some might not even be necessary:
The opcache_cli.conf file has a single line:
I don’t remember why it’s there but it’s working so I’m not touching it :-D
Good luck :-)