Skip to content
/ spug Public
forked from openspug/spug

开源运维平台:帮助中小型企业完成主机、任务、发布部署、配置文件、监控、报警等管理(open source O & M management system,manage the hosts, tasks, deployment, configuration files, monitoring and alarming) https://spug.qbangmang.com/login

Notifications You must be signed in to change notification settings

heylel/spug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Spug

Python3 Flask Paramiko Node Element

Spug is an open source O & M management system developed with Python + Flask + Element. The system is separated from the front and the back of the system to help small and medium-sized enterprises manage the hosts, tasks, deployment, configuration files, monitoring and alarming Spug是一款使用Python+Flask+Element组件开发的开源运维管理系统,系统前后端分离,帮助中小型企业完成主机、任务、发布部署、配置文件、监控、报警等管理。

Feature 功能


  • CMDB 资产管理
  • Task 任务计划管理
  • CI/CD 部署、发布管理
  • Config File 配置文件管理
  • Monitor 监控(未完成)
  • Alarm 报警(未完成)

Environment 环境


  • Python 3.x
  • Flask 0.12
  • Node 6.x
  • Element 2.x

快速启动


$ docker pull hub.qbangmang.com/spug:1.0.1
$ docker run -d -e REGISTRY_SERVER="hub.docker.com:5000" -p 80:80 hub.qbangmang.com/ops_v2:1.0.1


# 可选参数:
$ -e MYSQL_DATABASE="ops"         	//指定数据库名称
  -e MYSQL_USER="spuguser"         	//指定数据库用户名
  -e MYSQL_PASSWORD="spugpwd"    	//指定数据库密码
  -e REGISTRY_USER="hubuser"    	//指定私有镜像仓库用户名
  -e REGISTRY_PASSWORD="hubpwd" 	//指定私有镜像仓库密码

更多Dockerfile Dockerfile

详细安装步骤


   文档

Development 开发


   1. Clone code 克隆代码:
   $ git clone https://github.com/openspug/spug.git

   2. Start server 启动服务端:
   $ cd spug/spug_api
   $ pip install -r requirements.txt
   $ python main.py

   3. Start web  启动前端:
   $ cd spug/spug_web
   $ npm install
   $ npm run dev

   4. Visit 访问:
   $ http://$HOST:8010 (http://你的主机IP:8080 来访问 Spug)

Preview 预览


Docs 开发者文档


Contributor 贡献者


0.1.0

  • zyupo <张玉坡> 项目发起者
  • Yooke <雷二猛> Spug架构师、熟悉多种开发语言。
  • junun <刘军>
  • yuyc <于颜川>

开发者群


群号:

License & Copyright


MIT

About

开源运维平台:帮助中小型企业完成主机、任务、发布部署、配置文件、监控、报警等管理(open source O & M management system,manage the hosts, tasks, deployment, configuration files, monitoring and alarming) https://spug.qbangmang.com/login

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 62.3%
  • Python 33.3%
  • JavaScript 3.6%
  • CSS 0.4%
  • Shell 0.3%
  • HTML 0.1%