-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cd7366
commit 7971cbd
Showing
3 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |