Child pages
  • FileCloud Docker installation
Skip to end of metadata
Go to start of metadata

On this page:

Installing Docker

  1. Install docker-compose in your docker server:

    apt-get install docker-compose
  2. Download docker-compose.yml from:
    https://patch.codelathe.com/tonidocloud/live/scripts/fc/docker-compose.yml
  3. Pull the four FileCloud images:

    filecloud/filecloudserver20.1, mongo:3.6, filecloud/filecloudpreview20.1, filecloud/filecloudsolr20.1:

    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 server.solr and server.preview, remove filecloud.server 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/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 named volumes that are mounted under /var/lib/docker/volumes




  • No labels