Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Minio Template #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added templates/minio/assets/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions templates/minio/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import {
Output,
Services,
} from "~templates-utils";
import { Input } from "./meta";

export function generate(input: Input): Output {
const services: Services = [];

const appEnv = [
`MINIO_ROOT_USER=${input.rootUser}`,
`MINIO_ROOT_PASSWORD=${input.rootPassword}`,

// Required for the client, without this the client will redirect to default port
// https://github.com/minio/console/issues/2539#issuecomment-1619211962
`MINIO_BROWSER_LOGIN_ANIMATION=off`,
`MINIO_SKIP_CLIENT=yes`,
];

services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: "minio-server",
source: { type: "image", image: "bitnami/minio:2023.11.20" },
env: appEnv.join("\n"),
deploy: {
replicas: 1,
zeroDowntime: true,
},
domains: [
{
host: input.clientDomain,
https: true,
port: 9001,
path: "/",
},
{
host: input.serverDomain,
https: true,
port: 9000,
path: "/",
},
],
mounts: [
{
type: "volume",
name: "minio-data",
mountPath: "/bitnami/minio/data",
},
],
},
});

return { services };
}
75 changes: 75 additions & 0 deletions templates/minio/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Minio
description: Minio is an open-source object storage server compatible with
Amazon S3 APIs. It's designed for high-performance and scalable private
cloud storage. With Minio, you can store photos, videos, log files,
backups, and container / VM images. It offers features like high
availability and durability, and it's perfect for use cases such as data
lakes, data analysis, backup and archival, and disaster recovery.
instructions: To access the Minio dashboard, navigate to the Minio domain
specified in your EasyPanel configuration. Use the MINIO_ROOT_USER and
MINIO_ROOT_PASSWORD environment variables to log in.
changeLog:
- date: 2023-11-30
description: Initial Release
links:
- label: Website
url: https://min.io
- label: Docs
url: https://docs.min.io
- label: Github
url: https://github.com/minio/minio
contributors:
- name: Mark Topper Diderichsen
url: https://github.com/marktopper
schema:
type: object
required:
- projectName
- serverDomain
- clientDomain
- rootUser
- rootPassword
properties:
projectName:
type: string
title: Project Name
serverDomain:
type: string
title: Minio Server Domain
default: api-minio.example.com
clientDomain:
type: string
title: Minio Client Domain
default: minio.example.com
rootUser:
type: string
title: Minio Root Username
default: root
rootPassword:
type: string
title: Minio Root Password
default: password
benefits:
- title: Scalable Cloud Storage
description: Minio provides a robust and scalable solution for your private
cloud storage needs, making it ideal for a variety of applications.
- title: S3 Compatibility
description: Fully compatible with Amazon S3 APIs, Minio ensures seamless
integration with a broad range of applications and services.
- title: Secure and Private
description: With Minio, you have complete control over your data, ensuring a
secure and private storage solution.
features:
- title: High Performance
description: Minio is designed for high-performance use cases, efficiently
handling large volumes of data.
- title: Easy to Use
description: The intuitive user interface and simple configuration process
make Minio easy to set up and manage.
- title: Open Source
description: As an open-source solution, Minio offers flexibility and freedom
from vendor lock-in, with an active community for support and development.
tags:
- Object Storage
- S3 Compatible
- Open Source