this post was submitted on 06 Feb 2024
7 points (100.0% liked)

nextcloud

684 readers
6 users here now

Nextcloud is a suite of client-server software for creating and using file hosting services.

https://nextcloud.com

https://github.com/nextcloud

IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org

Other Nextcloud communities on Lemmy

founded 4 years ago
MODERATORS
 

I don't know if I'm stupid or if NextCloud's instructions are stupid, it's probably me and subsequently I'm struggling.

For all of my Docker stuff, I move the config directory to my opt folder with a simple

    volumes:
     - /opt/APPNAME/config:/config

And generally have the data on a remote drive like

    - music:/music

volumes: 
  music: 
    driver_opts:
      type: "nfs"
      o: "addr=192.168.X.XXX,nolock,soft,rw"
      device: ":/mnt/HD/Public/Shared Music"

This works perfectly for everything and I'm generally pleased with how things run. But NextCloud is throwing a bunch of words at me and I don't get it. Why can't it be as simple as what I'm already doing? Why do I have to declare

    environment
      - NEXTCLOUD_DATADIR=
      - NEXTCLOUD_MOUNT=

And why is it pointing me to? https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-store-the-filesinstallation-on-a-separate-drive

Which just points you to https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/

I'm looking at this Docker Compose like...

NextCloudPi was so simple to set up. If not for being stuck on v25, I'd have been happy with it. 🥺

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 7 months ago (1 children)

You moved the config for out of a docker volume and pointed it to a specific directory.

[–] [email protected] 1 points 7 months ago

That what I would like to do