FileCloud Docker installation

Docker images are mainly created for trialing/testing the product and are not optimized for production servers. 

Installing Docker

  1. Install docker-compose in your Docker server:

    apt-get install docker-compose
  2. Download docker-compose.yml using the below command:

  3. Pull the four FileCloud images:

    docker-compose pull
  4. Start the containers: 

    docker-compose up -d filecloud.server filecloud.mongodb filecloud.preview filecloud.solr        
    (Do not change these names.)
    If you do not want to start the optional containers filecloud.solr and filelcoud.preview, remove filecloud.solr and filecloud.preview from the command.

    Now you can access the FileCloud admin portal at http://<hostip>/ui/admin/index.html. The user name is admin and the password is password. You can access the FileCloud user portal at http://<hostip>/ui/core/index.html.

Setting up LibreOffice preview

Filecloud has two preview methods:

  • Built-in web preview
  • LibreOffice preview

To use LibreOffice

  1. Start the filecloud.preview container.
  2. In the Admin portal, go to  Settings > Misc > Preview.
    1. In  Office Location, enter /usr/lib/libreoffice/program
    2. Check Enable Document Converter.

Confguring Solr

  1. To configure Solr, start the filecloud.solr container.
  2. Enter the Solr container shell:

    docker exec -it filecloud.solr bash
  3. Copy the skeleton:

    cp -R /var/www/html/thirdparty/overrides/solarium/Solarium/fcskel/* /var/solr/data/fccore/
  4. Go to Admin portal > Settings > Content search.
    1. Click Configure.
    2. To start indexing, click the green Index button. 

By default, FileCloud uses host mount volumes for the Database and Filecloud storage folder.