rpi-nextcloud is an all-in-one lightweight NextCloud docker deployment using nginx, fpm, postgres, docker-gen and acme-companion. Primarily developed and tested for raspberrypi, but should work for other architectures, too.
Uses components from the following repos for TLS (via Let's Encrypt) support;
- https://github.com/nginx-proxy/nginx-proxy
- https://github.com/nginx-proxy/docker-gen
- https://github.com/nginx-proxy/acme-companion
Create your own .env and .conf files using the samples provided. Please make sure that the following files in place before initiating the deployment.
- .env
- ./env-files/nextcloud-app.env
- ./env-files/nextcloud-database.env
- ./env-files/nextcloud-web.env
- ./config-files/nextcloud-web/nginx.conf
- ./config-files/nextcloud-web/realip.conf (Optional)
- ./config-files/nextcloud-web/servertokens.conf (Optional)
- ./config-files/nextcloud-web/uploadsize.conf (Optional)
Run ./bin/install.sh to start deployment.
Run ./bin/upgrade.sh to pull latest images and update your deployment.