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

Template MageAI Added #699

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

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

services.push({
type: "app",
data: {
serviceName: input.appServiceName,
env: [
`USER_CODE_PATH=/home/src/${input.projectName}`,
`PROJECT_NAME=${input.projectName}`,
].join("\n"),
source: {
type: "image",
image: input.appServiceImage,
},
deploy: {
command: "mage start ${PROJECT_NAME}",
},
domains: [
{
host: "$(EASYPANEL_DOMAIN)",
port: 6789,
},
],
mounts: [
{
type: "volume",
name: "config",
mountPath: "/home/src/",
},
],
},
});

return { services };
}
112 changes: 112 additions & 0 deletions templates/mageai/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Mage-AI
description:
Mage-AI is a powerful open-source data pipeline tool designed to simplify and
accelerate building, deploying, and managing machine learning workflows. It
empowers data engineers and scientists with a unified platform to seamlessly
create pipelines for data ingestion, transformation, and model deployment.
With Mage-AI's user-friendly interface and robust features, it becomes an
essential tool for teams aiming to deliver AI solutions efficiently and
effectively.
instructions: null
changeLog:
- date: 2024-12-31
description: First Release
links:
- label: Website
url: https://docs.mage.ai/introduction/overview
- label: Documentation
url: https://docs.mage.ai/
- label: Github
url: https://github.com/mage-ai/mage-ai
contributors:
- name: Ahson Shaikh
url: https://github.com/Ahson-Shaikh
schema:
type: object
required:
- appServiceName
- appServiceImage
- projectName
properties:
appServiceName:
type: string
title: App Service Name
default: mage-ai
appServiceImage:
type: string
title: App Service Image
default: mageai/mageai:latest
projectName:
type: string
title: Project Name
default: my-first-project
benefits:
- title: Unified Data Workflows
description:
Mage-AI provides a single interface to design and execute complex data
pipelines, streamlining the machine learning process.
- title: Easy Integration
description:
Integrates seamlessly with existing tools and platforms, enabling flexible
and scalable pipeline deployments.
- title: Open-Source Advantage
description:
Leverage the power of open-source development for maximum customization
and community support.
- title: User-Friendly Interface
description:
A web-based interface simplifies the creation and management of pipelines
without extensive coding knowledge.
- title: Scalable Architecture
description:
Scales efficiently to handle projects of any size, from small experiments
to enterprise-level solutions.
features:
- title: Data Pipeline Automation
description:
Automate data ingestion, transformation, and processing tasks to reduce
manual effort and improve productivity.
- title: Customizable Components
description:
Easily customize and extend pipeline components to meet your specific
project requirements.
- title: Real-Time Monitoring
description:
Monitor pipeline performance in real-time with detailed metrics and logs.
- title: Model Deployment
description:
Simplify model deployment to production environments with Mage-AI's
integrated tools.
- title: Seamless Cloud Integration
description:
Supports deployment on popular cloud platforms for flexible and scalable
infrastructure.
- title: Collaborative Environment
description:
Enables team collaboration with shared pipelines and configurations.
- title: Version Control
description:
Built-in version control helps track changes and revert to previous states
when needed.
- title: Multi-Language Support
description:
Supports Python, SQL, and other languages for building diverse and robust
pipelines.
- title: Advanced Orchestration
description:
Schedule, run, and manage multiple pipelines with ease using advanced
orchestration features.
- title: Lightweight Deployment
description:
Deploy lightweight containers with minimal resource consumption for high
performance.
tags:
- Data Pipelines
- Machine Learning
- AI
- Automation
- Data Engineering
- Model Deployment
- Open-Source
- Scalable
- Cloud