FileCloud Docker installation
Docker images are mainly created for trialing/testing the product and are not optimized for production servers.
Running FileCloud on Docker
In your Docker server, pull the Docker image:
docker pull filecloud/fileclouddocker:23.241
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.
- In the FileCloud admin portal, go to Settings > Storage > My Files and set Storage Path to /opt/fileclouddata.
Setting up LibreOffice preview
Filecloud has two preview methods:
- Built-in web preview
- LibreOffice preview
To use LibreOffice
Enable preview by entering:
docker exec -it <container_id> filecloudcp -p docker exec -i <container_id> chown www-data /usr/lib/libreoffice/program
- In the Admin portal, go to Settings > Misc > Preview.
- In Office Location, enter /usr/lib/libreoffice/program
- Check Enable Document Converter.
Configuring Solr
Note: Solr is enabled by
- To configure Solr, start the filecloud.solr container.
Enter the Solr container shell:
docker exec -it filecloud.solr bash
Copy the skeleton:
cp -R /var/www/html/thirdparty/overrides/solarium/Solarium/fcskel/* /var/solr/data/fccore/
- Go to Admin portal > Settings > Content search.
- Click Configure.
- To start indexing, click the green Index button.
By default, FileCloud uses host mount volumes for the Database and Filecloud storage folder.