# Access Nextcloud Docker \> Synology

**URL:** <https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250>\
**Category:** ℹ️ Support\
**Tags:** nas, synology\
**Created:** [March 27, 2025, 7:56pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250 "2025-03-27T19:56:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gina\_Lyrat](https://help.nextcloud.com/user_avatar/help.nextcloud.com/gina_lyrat/32/52117_2.png) [@Gina\_Lyrat](https://help.nextcloud.com/u/Gina_Lyrat)\
**Post date:** [March 27, 2025, 7:56pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/1 "2025-03-27T19:56:40Z")

</div>

Hello everyone, I was using a Synology NAS. I now have Nextcloud running in Docker following instructions from Mariushosting.

Now my question is, how can I access the data on the Synology via Nextcloud? I have tried something here \> Do I have to enter the path in the stack or enter something under Portainer \> Containers \> Nextcloud \> Volume mapping?

I would like to have access to the following example ‘/volume1/Public’. Can anyone help me?

> **[Synology: How to Install Nextcloud Using Docker](https://mariushosting.com/synology-how-to-install-nextcloud-using-docker/)**
>
> Trustworthy expert guide to your Synology NAS.

 ![network](https://help.nextcloud.com/uploads/default/original/3X/a/0/a074020f7ec5eb7adc4e81fd339d04598f1a8d2b.png)  
 ![cachedev_1](https://help.nextcloud.com/uploads/default/original/3X/d/2/d2ad15e6537e42042b1fa4b94e84d089297f482a.png)  
 ![Storage](https://help.nextcloud.com/uploads/default/original/3X/4/c/4c609fa05dcf692e1c04107f7500780984fdf452.png)  
![Screenshot 2025-03-25 203334|690x333]  
 ![volume1](https://help.nextcloud.com/uploads/default/original/3X/3/b/3bd3c63de45ca1000b57ab0d94b56bd11cb22156.png)  
(upload://3hd3pHRdbecKryWZiXeEAtmvNP0.png)

---

<div class="post-metadata">

**Author:** ![Gina\_Lyrat](https://help.nextcloud.com/user_avatar/help.nextcloud.com/gina_lyrat/32/52117_2.png) [@Gina\_Lyrat](https://help.nextcloud.com/u/Gina_Lyrat)\
**Post date:** [March 27, 2025, 7:58pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/2 "2025-03-27T19:58:12Z")

</div>

services:  
mariadb:  
container\_name: Nextcloud-DB  
image: mariadb:11.4-noble #LTS Long Time Support Until May 29, 2029.  
security\_opt:

- no-new-privileges:false  
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF  
volumes:
- /volume2/docker/nextcloud/db:/var/lib/mysql:rw
- /volume2/docker/nextcloud/db:/etc/mysql/conf.d:rw  
environment:
- MYSQL\_ROOT\_PASSWORD=xxxxxxxxxxx
- MYSQL\_PASSWORD=xxxxxxxxxxxxxxxxxxx
- MYSQL\_DATABASE=nextcloud
- MYSQL\_USER=nextcloud
- TZ=Europe/Berlin  
restart: on-failure:5

redis:  
image: redis  
container\_name: Nextcloud-REDIS  
hostname: nextcloudredis  
user: 1029:100  
healthcheck:  
test: [“CMD-SHELL”, “redis-cli ping || exit 1”]  
volumes:

- /volume2/docker/nextcloud/redis:/data:rw  
environment:  
TZ: Europe/Berlin  
restart: on-failure:5

nextcloud:  
container\_name: Nextcloud  
ports:

- 8082:80  
depends\_on:  
mariadb:  
condition: service\_started  
redis:  
condition: service\_healthy  
environment:
- REDIS\_HOST=nextcloudredis
- NEXTCLOUD\_ADMIN\_USER=xxxxxxxxxxx
- NEXTCLOUD\_ADMIN\_PASSWORD=xxxxxxxxxxxxxxxx
- NEXTCLOUD\_TRUSTED\_DOMAINS=[nxxxxxxxxxxxxxxxxxxxxxxxnology.me](http://nxxxxxxxxxxxxxxxxxxxxxxxnology.me) 192.168.178.38
- TRUSTED\_PROXIES=192.168.178.38
- [OVERWRITEHOST=nextxxxxxxxxxx9.synology.me](http://OVERWRITEHOST=nextxxxxxxxxxx9.synology.me)
- OVERWRITEPROTOCOL=https
- MYSQL\_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxxx
- MYSQL\_DATABASE=xxxxxxxxx
- MYSQL\_USER=xxxxxxxxxxxxxxxxxxxxxx
- MYSQL\_HOST=mariadb  
healthcheck:  
test: curl -f [http://localhost:80/](http://localhost:80/) || exit 1  
volumes:
- /volume2/docker/nextcloud/html:/var/www/html:rw
- /volume2/docker/nextcloud/custom\_apps:/var/www/html/custom\_apps:rw
- /volume2/docker/nextcloud/config:/var/www/html/config:rw
- /volume2/docker/nextcloud/data:/var/www/html/data:rw
- /volume2/docker/nextcloud/themes:/var/www/html/themes:rw  
image: nextcloud  
restart: on-failure:5

cron:  
image: nextcloud:apache  
container\_name: Nextcloud-CRON  
restart: always  
volumes:

- /volume2/docker/nextcloud/config:/var/www/html/config:rw
- /volume2/docker/nextcloud/html:/var/www/html:rw
- /volume2/docker/nextcloud/custom\_apps:/var/www/html/custom\_apps:rw
- /volume2/docker/nextcloud/data:/var/www/html/data:rw  
entrypoint: /cron.sh  
depends\_on:  
mariadb:  
condition: service\_started  
redis:  
condition: service\_started

---

<div class="post-metadata">

**Author:** ![amateurkicker](https://help.nextcloud.com/letter_avatar/amateurkicker/32/5_5575768a8748004e209b776fc1b2916d.png) [@amateurkicker](https://help.nextcloud.com/u/amateurkicker)\
**Post date:** [March 27, 2025, 10:43pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/3 "2025-03-27T22:43:51Z")

</div>

> [@Gina\_Lyrat](#):
>
> I would like to have access to the following example ‘/volume1/Public’. Can anyone help me?

So you have to mount this path, i only see volume2 paths  
And then you can in nc this include under external storage (local mount)

---

<div class="post-metadata">

**Author:** ![Gina\_Lyrat](https://help.nextcloud.com/user_avatar/help.nextcloud.com/gina_lyrat/32/52117_2.png) [@Gina\_Lyrat](https://help.nextcloud.com/u/Gina_Lyrat)\
**Post date:** [March 28, 2025, 7:33pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/4 "2025-03-28T19:33:03Z")

</div>

> [@amateurkicker](#):
>
> So you have to mount this path, i only see volume2 paths  
> And then you can in nc this include under external storage (local mount)

I have now mounted volume 1. None of the options I have currently set show anything in the folder \> Storage is temporarily not available under External Storage

 ![2](https://help.nextcloud.com/uploads/default/original/3X/b/1/b13475d4a450b28acabaa2da93eb853bca2c9416.png)  
 ![5](https://help.nextcloud.com/uploads/default/original/3X/4/e/4eb680f2696b8bc835909328c4f3008fd6d614a4.png)  
 ![4](https://help.nextcloud.com/uploads/default/original/3X/a/4/a44627eed962fd18fa4e170bd2a475cd78c06484.png)

---

<div class="post-metadata">

**Author:** ![amateurkicker](https://help.nextcloud.com/letter_avatar/amateurkicker/32/5_5575768a8748004e209b776fc1b2916d.png) [@amateurkicker](https://help.nextcloud.com/u/amateurkicker)\
**Post date:** [March 28, 2025, 7:41pm UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/5 "2025-03-28T19:41:22Z")

</div>

Pls mount it not in the directory of nextcloud  
Use /mnt or something else

---

<div class="post-metadata">

**Author:** ![Gina\_Lyrat](https://help.nextcloud.com/user_avatar/help.nextcloud.com/gina_lyrat/32/52117_2.png) [@Gina\_Lyrat](https://help.nextcloud.com/u/Gina_Lyrat)\
**Post date:** [March 30, 2025, 9:30am UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/6 "2025-03-30T09:30:12Z")

</div>

> [@Gina\_Lyrat](#):
>
> /volume1/Public’

 ![grafik](https://help.nextcloud.com/uploads/default/original/3X/3/9/39e3458d04ebab7fa2b234ac975c2bdb46e361ee.png)

I’ve already tried that. But it doesn’t work. I read on the internet that different Linux systems are to blame (Synology + nextcloud) and that they only work via Teamfolder. Can nobody really help me here? This is not exactly a rare occurrence.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [June 28, 2025, 9:30am UTC](https://help.nextcloud.com/t/access-nextcloud-docker-synology/221250/7 "2025-06-28T09:30:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
