Minio

To start, install minio into your environment. Documentation is available on the minio site. We recommend using the docker install method so all form.io services can run in docker. Be sure to map the /data directory to the host server to preserve files between docker container starts.

S3 Credentials

When minio starts it should output the following information:

Endpoint:  http://127.0.0.1:9000
AccessKey: 12345678901234
SecretKey: ASDFGHJKL1234567890ASDFGHJKL

Be sure to note this information as you will need it to configure the minio s3 connection.

Create a bucket

Navigate in your browser to the Endpoint URL. You should see the minio browser interface.

Click on the plus icon in the bottom right and select “Create Bucket”.

Enter the bucket name you want to use and press Enter.

Configure Settings

In form.io, go to your project’s settings and go to Integrations -> File Storage -> S3.

Enter your Access Key, Secret Key that were generated when minio started.

Enter the bucket name that you created.

In the Bucket URL, Enter the endpoint that displayed when minio started followed by the bucket name. This should NOT have /minio in the url.

http://localhost:9000/test/

Enter any additional settings as required.

Save the settings.

Now, add a file component to a form and congfigure it for s3 as normal. Files will upload to your minio server.