version: "3.3"
services:
filecloud:
privileged: true
ports:
- 6443:443
- 6880:80
volumes:
- /volume1/docker/filecloud/fcdata:/opt/fileclouddata
- /volume1/docker/filecloud/dbdata:/var/lib/mongodb/
- /volume1/docker/filecloud/solrdata:/opt/solrfcdata/var/solr/
- /volume1/docker/filecloud/htmldata:/var/www/html/
container_name: FileCloud
image: filecloud/fileclouddocker:latest
command: /lib/systemd/systemd
In your Synology NAS, make sure to “right click” the parent folder “filecloud”. You have to create the folder in the docker folder. Select “Properties” > “Permission” > “Advanced Options” > Select “Make inherited permissions explicit” > Double Click “Everyone” and make sure to give this all permissions. Also make sure that the box at the bottom that says “Apply to this folder, sub-folders and files” is checked. Then click “save”.
Note: Best to use Portainer of Dockge as you will need to access the terminal which functions perfect in these instead. The Docker App in Synology sucks!
Once in terminal, do NOT upgrade the software. Go to my github and wget the two files in the home folder
https://raw.githubusercontent.com/Dvalin21/FileCloud-Install-script/main/install.sh
and
https://raw.githubusercontent.com/Dvalin21/FileCloud-Install-script/main/uninstall.sh
make sure you chmod +x for both files.
Run the uninstall.sh first “./uninstall.sh” and then run the install.sh “./install.sh”
Reason for this:
Its like the preinstalled software in the container never finished or failed. In doing so, it never starts once the container starts.