Local File Storage
When locally deploying Form.io, we recommend Minio for your local file storage. Minio is an open-source distributed object storage server written in Go, designed for Private Cloud infrastructure providing AWS S3 storage functionality. This server is best suited for storing unstructured data and files such as photos and videos within your local environment.
While Minio can be used on the Enterprise level, many customers opt to utilize their provider's storage or other storage methods when deploying to the Cloud or their own On-Premise environment.
If you are using the docker-compose methodology to run Form.io on your local machine, Minio is already included in the deployment, and manual installation is not required.
Installing Minio
To install Minio locally, you must first create a few folders within your local file system to store the files uploaded through the Minio platform. This can be done either through a file browser, or if you are on a Unix-based system with the following commands.
Once these directories are created, you can then launch Minio locally with the following command.
If you wish for a more secure deployment, then you can exclude the environment variables for MINIO_ACCESS_KEY
and MINIO_SECRET_KEY
as follows.
You can then determine these keys by running the following docker command.
Make sure to take note of these keys for later configurations. You are now ready to deploy the Form.io Platform.
Last updated