Coder Social home page Coder Social logo

swarmpit / swarmpit Goto Github PK

View Code? Open in Web Editor NEW
2.9K 66.0 276.0 6.69 MB

Lightweight mobile-friendly Docker Swarm management UI

Home Page: https://swarmpit.io

License: Eclipse Public License 1.0

Clojure 93.88% HTML 0.27% CSS 4.26% Shell 0.39% Java 1.07% Dockerfile 0.05% JavaScript 0.07%
docker swarm management ui swarm-mode docker-swarm docker-containers docker-stack stack docker-compose

swarmpit's Introduction

swarmpit

Lightweight mobile-friendly Docker Swarm management UI

version gitter Test, Build & Deploy PRs Welcome Financial Contributors on Open Collective

Twitter URL

Swarmpit provides simple and easy to use interface for your Docker Swarm cluster. You can manage your stacks, services, secrets, volumes, networks etc. After linking your Docker Hub account or custom registry, private repositories can be easily deployed on Swarm. Best of all, you can share this management console securely with your whole team.

More details about future and past releases can be found in ROADMAP.md

opencollective

Installation

The only dependency for Swarmpit deployment is Docker with Swarm initialized, we are supporting Docker 1.13 and newer. Linux hosts on x86 and ARM architectures are supported as well.

Package installer

Installer is your guide to setup Swarmpit platform. For more details see the installer

Stable version

Deploy our current milestone version

docker run -it --rm \
  --name swarmpit-installer \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  swarmpit/install:1.9

Edge version

Deploy latest version for the brave and true

docker run -it --rm \
  --name swarmpit-installer \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  swarmpit/install:edge

Manual installation

Deploy Swarmpit by using a compose file from our git repo with branch of corresponding version.

git clone https://github.com/swarmpit/swarmpit -b master
docker stack deploy -c swarmpit/docker-compose.yml swarmpit

For ARM based cluster use custom compose file.

git clone https://github.com/swarmpit/swarmpit -b master
docker stack deploy -c swarmpit/docker-compose.arm.yml swarmpit

This stack is a composition of 4 services:

  • app - Swarmpit
  • agent - Swarmpit agent
  • db - CouchDB (Application data)
  • influxdb - InfluxDB (Cluster statistics)

Feel free to edit the stackfile to change an application port and we strongly recommend to specify following volumes:

  • db-data
  • influxdb-data

to shared-volume driver type of your choice. Alternatively, you can link db service to the specific node by using constraint.

Swarmpit is published on port 888 by default.

Configuration

Refer to following document

User Types

Refer to following document

Development

Swarmpit is written purely in Clojure and utilizes React on front-end. CouchDB is used to persist application data & InfluxDB for cluster statistics.

Everything about building, issue reporting and setting up development environment can be found in CONTRIBUTING.md

Demo

Try in PWD

Deploys Swarmpit to play-with-docker sandbox. Please wait few moments till application is up and running before accessing port 888. Initialization might take a few seconds.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

swarmpit's People

Contributors

azrikahar avatar bennet-esyoil avatar chymtt avatar cnfw avatar inductor avatar jirkapenzes avatar lightningspirit avatar marcosnils avatar monkeywithacupcake avatar mrq1911 avatar neilinnes avatar nohaapav avatar rarous avatar salax avatar schrammel avatar syntaqx avatar xe-nvdk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swarmpit's Issues

Misleading claims

This project describes itself as "Lightweight Docker Swarm orchestration" but in fact it's not an orchestration offering at all - it's just a UI. It is a clean UI which looks very useful but it's not orchestration - Docker Swarm and Kubernetes are examples of orchestration platforms.

I'd suggest you update the tagline to: "Lightweight Docker Swarm UI" or "Lightweight UI for Docker Swarm"

Does that make sense?

volume prune

offer prune action (deletes unused volumes) on volume list

Add install page

when db is connected but not initialised offer install (admin user creation form)

dockerhub user namespaces

let dockerhub user change his namespace

user namespaces:
https://hub.docker.com/v2/repositories/namespaces

multiple dockerhub accounts with same username can be added

screenshot 2017-06-26 01 18 04

GET /admin/dockerhub/users

[  
   {  
      "_id":"08537ffc00882ebc57e73f411c0021da",
      "_rev":"1-b6c1fb91983b8c65293da70db26752a5",
      "username":"lumir",
      "password":"xxx",
      "type":"dockeruser"
   },
   {  
      "_id":"08537ffc00882ebc57e73f411c0031a7",
      "_rev":"1-b6c1fb91983b8c65293da70db26752a5",
      "username":"lumir",
      "password":"xxx",
      "type":"dockeruser"
   },
   {  
      "_id":"08537ffc00882ebc57e73f411c003dbb",
      "_rev":"1-b6c1fb91983b8c65293da70db26752a5",
      "username":"lumir",
      "password":"xxx",
      "type":"dockeruser"
   }
]

also, api should never return password to frontend

Show all user repositories under private section

We're now showing only private repositories under dockerhub private search section -> maybe we should rename this section to Search namespace/user and show also public repositories related to namespace/user as well.

dynamic title

every page now has "Swarmpit" title, this has to be changed according to route eg. Service "livin" - Swarmpit

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.