Giter Site home page Giter Site logo

rohangoli / dcmp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mr-linus/dcmp

0.0 0.0 0.0 5.63 MB

Docker Container Management Platform(Dashboard UI)

License: Apache License 2.0

Python 4.52% CSS 30.60% JavaScript 50.22% HTML 14.35% Dockerfile 0.26% Shell 0.05%

dcmp's Introduction

DCMP (Docker Container Management Platform)

DCMP 🐋 💦 is a Docker Container Management Platform using the django framework and python language and it is suitable for internal network deployment.

build License PythonVersion DjangoVersion FOSSA Status

Language: English | 中文

Features

  • WEB MONITOR

Concise, efficient, data visualization

  • Container MANAGEMENT

Efficient, responsive, second-level deployment

  • ANALYSTICS

Data visualization, dynamic updates

  • DEPLOY SERVICES

Multiple mirroring, load balancing, high availability

Overview

  • Promotion Page

PromotionPage

  • Login Page

Login

  • Dashboard

DashboardPage

  • Containters Management

Containers

  • Containters Deploy

Deploy

  • Swarm Monitor

swarm

  • Images Management

images

  • Volumes Management

volumes

  • Networks Management

networks

  • Events Monitor

events

  • User Management

user

Development Test Environment

  • Python 3.6 (Recommend)
  • Django 2.0 (Necessary)
  • Docker 18.03-ce
  • Redis 2.0.6

Third party plugins (Necessary)

  • django-bootstrap3
  • psutil
  • docker-py
  • celery

Install plugins:

pip install -r requirements.txt

Running DCMP in Docker

# Create docker network 
docker network create dcmp
# Create redis as message queue
docker run -d --name dcmp-redis --net dcmp  redis  
# Run dcmp backend
docker run -itd --name dcmp-backend \
       -v /var/run/docker.sock:/var/run/docker.sock \
       --net dcmp  \
       registry.cn-hangzhou.aliyuncs.com/geekcloud/dcmp:backend
# Run DCMP frontend
docker run -itd --name dcmp-nginx \
       -p 8000:80 \
       --net dcmp \
       registry.cn-hangzhou.aliyuncs.com/geekcloud/dcmp:nginx

You can see DCMP: http://localhost:8000/

username:admin password:dcmpdcmp123

Usage

  • Initialize Docker (PreStep):
docker swarm init #Please Your make sure your Docker engine is turned on 
  • Refresh & Synchronize the database(Step 1):
python manage.py makemigrations
python manage.py migrate
  • Create Superuser(Step 2):
python manage.py createsuperuser

Superuser has the ability to create user.

  • Run the website(Step 3):
python manage.py runserver
  • Start the Redis server(Step 4):
docker run --name dcmp-redis -p 6379:6379 redis
  • Start the Celery Worker(Step 5):
celery -A DCMP worker -l info

Update Logs

V3.2.0 Date :2019/2/12

  • Upgrade the struct of docker

V3.1.0 Date :2019/1/26

  • Add ajax dynamic update function

V3.0.1 Date :2018/8/17

  • Fix errors in Redis

V3.0(Beta) Date :2018/7/12

  • Add Celery to accelerate docker services
  • Add Rabbitmq to processing messages
  • Fix some bugs

V2.6(Beta) Date :2018/5/2

  • Add User ManageMent Function(Rewrite to User Management)
  • Fix some bugs

V2.5 Date :2018/4/30

  • Add Swarm Function
  • Add Image Function
  • Add Volume Function
  • Add Network Function
  • Fix some bugs

V2.4 Date :2018/4/29

  • Add Deploy funtion
  • Fix some bugs

V2.3 Date :2018/4/25

  • Add container function
  • Fix some bugs

V2.2 Date :2018/4/21

  • Add system lib
  • Add docker lib
  • Fix login bugs

V2.1 Date :2018/4/18

  • Finish login/logout function
  • Rewrite login static HTML page
  • Fix bugs

V2.0 Date :2018/4/15

  • Use Model Form instead of traditional HTML forms
  • Compact code
  • Rewrite : Models , Views
  • Add Django-BootStrap3 to render HTML Pages

V1.0 Date :2018/4/10

  • Finish Promotional page
  • Finish Sending email
  • Finish Saving Contacts
  • Finish Interactive management terminal

Schedule(Finished)

  • Promotional page
  • Sending email
  • Saving Contacts
  • Interactive Management terminal
  • Index Dashboard
  • Login Page
  • Login Interface
  • Docker Lib
  • Docker Monitor
  • Docker Swarm Monitor
  • Docker Container Management
  • Docker Deploy Function
  • Docker Image Management
  • User Management
  • Docker Network Management
  • Docker Volume Management

Follow-up function

  • i18N Internationalization
  • Container Status Details

dcmp's People

Contributors

mr-linus avatar

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.