2

TLDR: I consistently fail to set up Nextcloud on Docker. Halp pls?

Hi all - please help out a fellow self-hoster, if you have experience with Nextcloud. I have tried several approaches but I fail at various steps. Rather than describe my woes, I hope that I could get a "known good" configuration from the community?

What I have:

  • a homelab server and a NAS, wired to a dedicated switch using priority ports.
  • the server is running Linux, Docker, and NPM proxy which takes care of domains and SSL certs.

What I want:

  • a docker-compose.yml that sets up Nextcloud without SSL. Just that.
  • ideally but optionally, the compose file might include Nextcloud office-components and other neat additions that you have found useful.

Your comments, ideas, and other input will be much appreciated!!

top 6 comments
sorted by: hot top controversial new old
[-] 30021190@lemmy.cloud.aboutcher.co.uk 1 points 11 months ago

FYI docker images binding to an NFS mount can be tricky due to ACL extensions not being supported. Podman is especially bad for this.

[-] MangoPenguin@lemmy.blahaj.zone 1 points 11 months ago* (last edited 11 months ago)

Their official image is easy to run, just one container needed: https://hub.docker.com/_/nextcloud

Linuxserver.io images are also good: https://hub.docker.com/r/linuxserver/nextcloud

[-] ippokratis@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

It all comes down to which webserver you want to use actually

Base official image and linuxserver.Io comes with Apache

With fpm you can choose

[-] redcalcium@lemmy.institute 0 points 11 months ago* (last edited 11 months ago)

Nextcloud is very easy to setup as a container. You just need a MySQL/MariaDB server and a volume mount. Just make sure the volume is owned by www-data user (uid:gid 33:33). That's it. Most problems I've seen so far are related to files permissions, so double check to make sure the volume is owned by www-data.

[-] Walter_Ego@lemmy.arpatubes.net 0 points 11 months ago

is marinade a typo for mariadb or is this some new thing that i missed

[-] redcalcium@lemmy.institute 0 points 11 months ago

I swear I already double checked but Gboard's autocorrect always managed to mess up something

this post was submitted on 25 Jul 2023
2 points (100.0% liked)

Selfhosted

37770 readers
224 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS