Docker Install on Synology NAS

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.

Hi

Kindly apologize for the delay

Please use this docker-compose file:
version: ‘3.3’

services:
filecloud:
image: filecloud/fileclouddocker:latest
container_name: filecloud_container
privileged: true
ports:

  • “443:443”
  • “80:80”
    volumes:
  • fcdata:/opt/fileclouddata
  • dbdata:/var/lib/mongodb
  • solrdata:/opt/solrfcdata/var/solr
  • htmldata:/var/www/html
    entrypoint: [“/lib/systemd/systemd”]

volumes:
solrdata:
htmldata:
fcdata:
dbdata:

or kindly use the below command

sudo docker run --privileged -d -p 443:443 -p 80:80 -v fcdata:/opt/fileclouddata -v dbdata:/var/lib/mongodb -v solrdata:/opt/solrfcdata/var/solr -v htmldata:/var/www/html --name filecloud_container filecloud/fileclouddocker:latest /lib/systemd/systemd

happy to help

1 Like

Thank you very much for the compose

1 Like

Hi

You are most welcome! if you find any difficulty kindly reach out to us we are here to help you out

Happy to help :slight_smile:

1 Like

Actually, I have one more question. With the Community Edition, how many machines can use the demo license and if only one can be used at a time, how would I be able to move it to another machine? And thank you so much for your time.

Hi

You should be able to manage the single community edition account under multiple machines. However you can use single license under only one particular account.

Also know that community edition is a 1 year free license that can be redownloaded to extend. So every year you should re download the license and upload it

happy to help

1 Like