1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00
High Performance, Kubernetes Native Object Storage, packaged for YunoHost
Find a file
Salamandar fcb96f758a
Merge pull request #65 from YunoHost-Apps/testing
Automated testing -> master
2024-06-25 21:46:41 +02:00
.github cleaning 2023-09-15 16:59:43 +02:00
conf Merge branch 'testing' into v2 2023-09-15 21:09:35 +02:00
doc cleaning 2023-11-24 22:15:32 +01:00
scripts Cleaning 2023-11-24 22:17:25 +01:00
.gitignore Update nginx conf 2022-03-26 21:51:16 +07:00
ALL_README.md Auto-update READMEs 2024-06-23 19:41:34 +00:00
LICENSE Update LICENSE 2021-11-11 09:28:32 +07:00
manifest.toml Update manifest.toml 2024-06-23 21:41:28 +02:00
README.md Auto-update READMEs 2024-06-23 19:41:34 +00:00
README_es.md Auto-update READMEs 2024-06-23 19:43:27 +00:00
README_eu.md Auto-update READMEs 2024-06-23 19:43:27 +00:00
README_fr.md Auto-update READMEs 2024-06-23 19:41:34 +00:00
README_gl.md Auto-update READMEs 2024-06-23 19:43:27 +00:00
README_it.md Auto-update README 2024-03-29 07:13:21 +01:00
README_zh_Hans.md Auto-update READMEs 2024-06-23 19:43:27 +00:00
tests.toml stronger password for tests 2023-05-20 12:07:15 +02:00

MinIO server for YunoHost

Integration level Working status Maintenance status

Install MinIO server with YunoHost

Read this README in other languages.

This package allows you to install MinIO server quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads.

How to create a YunoHost app using MinIO

During the install process, MinIO will install both the MinIO server and MinIO client. If your app needs to use an Amazon S3 storage, I recommend to use the MinIO client to create and setup buckets as per your app's requirements. You can have a look at outline_ynh app for reference.

First step: retrieve MinIO credentials

#=================================================
# SETUP MINIO CREDENTIALS
#=================================================
minio_domain=$(ynh_app_setting_get --app="minio" --key=domain)
minio_admin=$(ynh_app_setting_get --app="minio" --key=admin)
minio_password=$(ynh_app_setting_get --app="minio" --key=password)
mc_path=$(ynh_app_setting_get --app="minio" --key=mc_path)

Second step: create and setup your bucket

#=================================================
# SETUP MINIO BUCKET
#=================================================
ynh_script_progression --message="Setting up MinIO bucket for YOURAPP..." --weight=1

pushd "$mc_path"
	ynh_exec_warn_less sudo -u minio ./mc mb minio/NAME_OF_YOUR_BUCKET --region "NAME_OF_YOUR_REGION"
	ynh_exec_warn_less sudo -u minio ./mc policy set NEEDED_POLICY minio/NAME_OF_YOUR_BUCKET
popd

Shipped version: 2023.09.07~ynh2

Screenshots

Screenshot of MinIO server

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/minio_ynh/tree/testing --debug
or
sudo yunohost app upgrade minio -u https://github.com/YunoHost-Apps/minio_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps