Skip to content
MinIO plugin for Tutor
Python Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tutorminio
.gitignore
.gitlab-ci.yml Get rid of minio-client container Sep 3, 2019
MANIFEST.in
README.rst
setup.py Fix missing template data Sep 3, 2019

README.rst

Object storage for Open edX with MinIO

This is a plugin for Tutor that provides S3-like object storage for Open edX platforms. It's S3, but without the dependency on AWS. This is achieved thanks to MinIO, an open source project that provides object storage with an API compatible with S3.

In particular, this plugin is essential for Kubernetes deployment.

Installation

The plugin is currently bundled with the binary releases of Tutor. If you have installed Tutor from source, you will have to install this plugin from source, too:

pip install tutor-minio

Then, to enable this plugin, run:

tutor plugins enable minio

Configuration

  • MINIO_BUCKET_NAME (default: "openedx")
  • MINIO_FILE_UPLOAD_BUCKET_NAME (default: "openedxuploads")
  • MINIO_COURSE_IMPORT_EXPORT_BUCKET (default: "openedxcourseimportexport")
  • MINIO_HOST (default: "minio.{{ LMS_HOST }}")
  • MINIO_DOCKER_REGISTRY (default: "{{ DOCKER_REGISTRY }}")
  • MINIO_DOCKER_IMAGE (default: "overhangio/minio:{{ MINIO_VERSION }}")

These values can be modified with tutor config save --set PARAM_NAME=VALUE commands.

DNS records

It is assumed that the MINIO_HOST DNS record points to your server. When running MinIO on your laptop, you should point your services to minio.localhost:

tutor config save --set MINIO_HOST=minio.localhost

Web UI

The MinIO web UI can be accessed at http://<MINIO_HOST>. The credentials for accessing the UI can be obtained with:

tutor config printvalue OPENEDX_AWS_ACCESS_KEY
tutor config printvalue OPENEDX_AWS_SECRET_ACCESS_KEY
You can’t perform that action at this time.