Check this tutorial to install Nextcloud using Docker compose:
www.synoforum.com
Nextcloud is the most deployed on-premises file share and collaboration platform. Access & collaborate across your devices. Your data remains under your control.
Official site:
In this tutorial, we are going to use this Docker build for Nextcloud: linuxserver/nextcloud
Let's begin with the installation.
linuxserver/nextcloud container
Launch linuxserver/nextcloud container
Continue in the Container creation wizard and choose Advanced settings.
General settings tab
Set
Volume tab
Click on Add Folder button and create a folder structure in your Docker:
Port Settings tab
Environment tab
Click Apply button, wait approx. 4 minutes for everything to install, then navigate in your browser to
Installation wizard for Nextclud
After you've navigated to browser make sure to choose MySQL/MariaDB as the database when installing Nextcloud via the web interface and fill the install form with database credentials. Also, change
Read official manual:
You can access your Nextcloud also from outside by using reverse proxy. (How to set up reverse proxy?)

Docker - NextCloud on Synology NAS using Docker compose (with Portainer)
In this tutorial, we are going to use Docker compose to install the NextCloud official Docker image with Portainer. To start This is going to be just one of many ways to install NextCloud. I am going to show you my way. First, you need to...
Nextcloud is the most deployed on-premises file share and collaboration platform. Access & collaborate across your devices. Your data remains under your control.
Official site:
In this tutorial, we are going to use this Docker build for Nextcloud: linuxserver/nextcloud
Let's begin with the installation.
linuxserver/nextcloud container
Launch linuxserver/nextcloud container
- Go to the Registry tab in your Docker and search for
linuxserver/nextcloud
- Click on
linuxserver/nextcloud
, click the Download button and chooselatest
build - Wait for the image to download
- Go to Image tab and find
linuxserver/nextcloud
. Select it and click on button Launch
Continue in the Container creation wizard and choose Advanced settings.
General settings tab
Set
Enable auto-restart
.Volume tab
Click on Add Folder button and create a folder structure in your Docker:
Folder | Mounth path |
---|---|
docker/nextcloud/config | /config |
docker/nextcloud/data | /data |
Port Settings tab
Local Port | Container port |
---|---|
< set your port number > | 443 |
< set your port number > | 80 |
Environment tab
Variable | Value |
---|---|
PUID | < your userID > |
PGID | < your groupID > |
TZ | < your timezone > |
http://yourNASip:yourNextcloudLocalPortFor443
and that's it!Installation wizard for Nextclud
After you've navigated to browser make sure to choose MySQL/MariaDB as the database when installing Nextcloud via the web interface and fill the install form with database credentials. Also, change
localhost
to http://yourNASip:yourLocalPortforMySQL
Read official manual:
You can access your Nextcloud also from outside by using reverse proxy. (How to set up reverse proxy?)
- Related resources
Tutorial - How to find UID (userID) and GID (groupID)?
First, you need to SSH into your NAS. When you are in your NAS with the user you want the ID for, just type id and hit Enter. Now you'll get something like this: uid=1031(your_nas_user) gid=100(users) groups=100(users), 101(administrators)...www.synoforum.com
Tutorial - Synology Reverse Proxy
This tutorial will cover a few short steps that you need to know and setup in order to make your apps and services accessible via the internet (or LAN) using a specific domain name and custom (or default) port. It will also help you to avoid...www.synoforum.com