Versions Compared

Key

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

...

For running the export server, the only necessary changes to your API .env file are adding your bucket name and the MinIO endpoint:

In packages/api/.env you will have to add one new environment variable:

Code Block
# The default minio port
MINIO_ENDPOINT=http://localhost:9000

And change the value of two environment variables that should already exist in your .env

Code Block
# Set both of these to theyour MinIO bucket name 
PRIVATE_BUCKET_NAME=<MinIO bucket name here>
PUBLIC_BUCKET_NAME=<MinIO bucket name here>

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).

...