this post was submitted on 27 Nov 2023
9 points (100.0% liked)
Self-Hosted Main
504 readers
1 users here now
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 :-)