FileCloud Docker installation

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

Running FileCloud on Docker

  1. In your Docker server, pull the Docker image:

    docker pull filecloud/fileclouddocker:23.241
  2. Start the container: 

    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 <yourcontainername> <current_image_name:tag> /lib/systemd/systemd 

    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.

  3. In the FileCloud admin portal's left navigation bar, scroll down and click Settings. Then, on the Settings navigation page, click Storage .
    The Managed Storage settings page opens by default.

  4. Set Storage Path to /opt/fileclouddata.

Setting up LibreOffice preview

Filecloud has two preview methods:

  • Built-in web preview
  • LibreOffice preview

To use LibreOffice

  1. Enable preview by entering:

    docker exec -it <container_id> filecloudcp -p 
    docker exec -i <container_id> chown www-data /usr/lib/libreoffice/program 
  2. Open the Preview settings page.
    1. In the FileCloud admin portal's left navigation bar, scroll down and click Settings. Then, on the Settings navigation page, click Misc .
    2. In the inner navigation bar on the left of the Settings page, expand the Misc menu, and click Preview, as shown below.

    The Preview settings page opens.

  3. In  Office Location, enter /usr/lib/libreoffice/program
  4. Enable the field Enable Document Converter.

  5. Click Save.

Configuring Solr

Note: Solr is enabled by 

  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.