A Tutor plugin for object storage in MinIO
Project description
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_CLIENT (default: "minio/mc:RELEASE.2019-05-23T01-33-27Z")
MINIO_DOCKER_IMAGE_SERVER (default: "minio/minio:RELEASE.2019-05-23T00-29-34Z")
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tutor-minio-tmp-0.0.5.tar.gz
.
File metadata
- Download URL: tutor-minio-tmp-0.0.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.5.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a333ff4c0677f4a02cb64c1456a76b962e920ac2adc44d671bb867cfd22ac6 |
|
MD5 | 65b4e685cd147e941d1e2e76b128c638 |
|
BLAKE2b-256 | ecdc652974740c844e759dae9363863a4dd7b5ecbe0267b87b712986bf4df7cb |