Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Just like AWS S3, in MinIO you can set up a bucket, generate access keys, and configure access rules from the graphical client… but the client can be accessed right on http://localhost:9090 by logging in with the user and password set in the file above. Very cool!

In the MInIO console:

  1. Create a bucket and record its name. (you You will put its this name to put into both the API & webapp .env file files at a later point)

  2. Set its Access Policy to “public” (under Buckets > Bucket Name)

  3. Then create an Access Key (screenshot below) and record the key/secret key for use in the next step

...

Connecting MinIO to the LiteFarm API

...

The S3 configurations in digitalOceanSpaces.js (access key, secret access key) are not used by the export server, which instead spawns a node.js child process that runs the aws-cli. (Note: you may have to download aws-cli first to complete the next step).

Set your credentials with your MinIO access key + secret directly in the terminal using

...

Have the normal LiteFarm backend already started running in a separate terminal window, then run the export server in packages/api using

...