GithubHelp home page GithubHelp logo

mr5356 / elune-aio Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 600 KB

Elune一站式运维工具平台, DevOps Tools

Home Page: https://docker.ac.cn

License: Apache License 2.0

Dockerfile 22.88% Shell 26.40% Smarty 50.72%
devops devops-platform devops-tools golang

elune-aio's Introduction

Elune

elune一站式运维工具平台

Elune Elune Backend architecture os license release last-release

应用架构图

预览

导航页 运维页 管理页

特性列表

  • 功能特性

    • 私有导航页(新增后端图片代理,防止前端https/http混用引起的跨域安全问题)
    • 运维管理看板
    • 系统管理看板
    • K8s集群管理(支持新增K8s集群)
    • 主机/虚拟机管理(支持新增主机/虚拟机/主机组/虚拟机组,支持在线终端)
    • 脚本管理,支持远程执行、定时执行(支持多主机执行/按主机组执行)
    • 计划任务管理(支持启用/禁用定时任务,查看定时任务执行记录)
    • 通知管理(当前支持飞书webhook通知插件,支持添加消息通道、发送测试消息)
    • Elune系统自定义配置(自定义网站标题、网站图标、浏览器图标、版权信息、公安局备案、工信部备案、网站首页)
    • 系统重启
  • 权限特性

    • 内置游客、普通用户、运维人员、系统管理员四种身份
    • 根据不同权限对各个功能进行权限管理(api权限控制+页面级权限控制)

安装

使用二进制应用程序运行

Elune已经预编译好了linux/amd64、linux/arm64、darwin/amd64、darwin/arm64版本的可执行文件,支持二进制文件一键启动【注意:建议测试环境使用,生产环境请使用Docker版本获取K8s版本】下载地址

curl -O https://github.com/MR5356/elune-aio/releases/latest/download/elune-backend-linux-amd64.tar.gz
tar zxvf elune-backend-linux-amd64.tar.gz
mv elune-backend-linux-amd64 elune 
chmod +x elune

如果你使用的是Mac设备,可以通过Homebrew进行安装brew install mr5356/brew/elune

使用Docker安装

docker run -d -p 80:80 registry.cn-hangzhou.aliyuncs.com/toodo/elune-aio

使用K8s安装

helm upgrade --install --set image.tag="latest" elune oci://registry-1.docker.io/toodo/elune-aio --version v1.1.0-dev

部署高可用的K8s集群

注意:请自定义ingress相关的配置,如域名、证书、端口等

部署后端服务

helm upgrade --install --wait elune -n toodo oci://registry-1.docker.io/toodo/elune-backend --version 0.1.0 --set image.tag="develop-d06fffe"

部署前端服务

helm upgrade --install --wait elune -n toodo oci://registry-1.docker.io/toodo/elune --version 0.1.0 --set image.tag="develop-a0e417f"

配置项

配置项适用于各种安装方式,支持以下环境变量进行配置:

  • ELUNE_DEBUG: 开启debug模式
  • ELUNE_PORT: 应用程序启动端口,默认为5678
  • ELUNE_DATABASE_DRIVER: 数据库类型,默认为sqlite,可选为sqlitemysqlpostgres
  • ELUNE_DATABASE_DSN: 数据库连接地址DSN格式,默认为db.sqlite,使用k8s部署默认为/app/db/elune.db
  • ELUNE_CACHE_DRIVER: 缓存类型,默认为memory,支持memoryredis
  • ELUNE_CACHE_DSN: 缓存连接地址,默认为redis://localhost:6379?protocol=3

使用

内置两个用户分别为:

  • admin: admin
  • devops: devops

Star History

Star History Chart

elune-aio's People

Contributors

mr5356 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

elune-aio's Issues

【admin】支持按照角色身份对页面/接口限制访问

  • 游客身份可查看public相关页面,具有后端接口GET权限
  • 普通用户可查看public相关页面,编辑、删除、新增菜单、菜单分类
  • 运维人员可查看devops相关页面,使用devops页面相关功能
  • 管理员具有所有权限

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.