FileCloud Docker installation
Docker images are mainly created for trialing/testing the product and are not optimized for production servers.
Installing Docker
Install docker-compose in your Docker server:
apt-get install docker-compose
Download docker-compose.yml using the below command:
wget https://patch.codelathe.com/tonidocloud/live/scripts/fc/docker-compose.yml
Pull the four FileCloud images:
docker-compose pull
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
- Start the filecloud.preview container.
- In the Admin portal, go to Settings > Misc > Preview.
- In Office Location, enter /usr/lib/libreoffice/program
- Check Enable Document Converter.
Confguring Solr
- 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/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.