[TOC]
This setup of Nextcloud is used by BEST Aalborg, use it if you want.
- Clone repo and
cd
into it - run
cp config.env.sample config.env
- modify the config file
config.env
- Create all the need folders, use magic one-liner
cat docker-compose.yml | yq -r '.volumes[].driver_opts.device' | tr '\n' '\0' | xargs -0 -I '{}' bash -c 'source <(grep "^DATA_PATH=" .env); mkdir -vp "{}"'