Coder Social home page Coder Social logo

pm2-webui's Introduction

PM2 WebUI

Opensource Alternative to PM2 Plus

FEATURES
  • Secure Login ✅
  • App Management ✅
  • Log Viewer ✅
  • Responsive UI ✅
  • Manual and Auto(Github webhooks) Deployment
  • Environment Management
USAGE
git clone https://github.com/suryamodulus/pm2-webui
cd pm2-webui
npm install
cp env.example .env
npm run setup-admin-user (Required for login)
npm start
FOR DEVELOPMENT USE
npm run start:dev

TODO

  • support for relative paths
  • use fs-extra for filesystem operations
  • use jsonfile for config management
  • replace exec.util with execa
  • add form based env management
  • add realtime logs
  • add log viewer for deployments
  • add deployment abort functionality
  • add deployment triggers
  • add web terminal
  • add zero downtime deployment strategies - blue-green, rolling etc
  • add docker provider*
SCREENSHOTS

PM2 Webui Login PM2 Webui Dashboard PM2 Webui App

LICENSE

MIT - Copyright (c) 2022 Surya T

pm2-webui's People

Contributors

modulsx avatar dependabot[bot] avatar hsborges avatar

Stargazers

Navi Sidhu avatar sterling avatar Juan Daniel avatar Zilu Ramkrishna Rane avatar Huy Ly avatar  avatar Sulaiman Sulaiman avatar zkfarmoor avatar Igor avatar  avatar Samukelo Lukhele avatar Beck avatar Aaron Zhou avatar Rohan Sank avatar Kang CP avatar  avatar Clément Grennerat avatar Abhishek (Hexkid) avatar Mohit Gupta avatar  avatar  avatar Denis Ding(丁竹) avatar Milord avatar Junk_Chen avatar 梦天 avatar Hand Sonic avatar Rycbar123 avatar KerwinChina avatar Gaurav Gupta avatar  avatar Yuri Ly avatar ggyy avatar Kabir Gupta avatar RDarius avatar Savan Patel avatar  avatar  avatar Evgeniy avatar LawMixer avatar Dishu(Lester) Lyu avatar  avatar tensuns avatar Uğur Soğukpınar avatar  avatar Jakkapan Attala avatar Barrero avatar  avatar Darrell D avatar Mitchell avatar Balaji Ramachandran avatar Matt Roelle avatar viccom avatar ChenXing avatar Thomas Ott avatar Quentin Gosset avatar Victor P. Araújo avatar Mike Erickson avatar Mika avatar Wilson Wang avatar Tyler Youschak avatar dengyc avatar Pouria Taj avatar GalaXd avatar  avatar Amir Zareian avatar >ph avatar Andrii Dobrus avatar Fausto Gutierrez avatar 王帅 avatar  avatar Adam Smith avatar Walison Gomes avatar Nicky Gee avatar Seiya Eriguchi avatar  avatar AlreadyJosh avatar proHong avatar Jasmine avatar  avatar Zafar avatar flycorn avatar T. Todua avatar Nicolas Jacquemin avatar Aliaksei avatar running&codding avatar  avatar Ahmed Hassan Khan Kakar avatar banshan avatar Ermesom Barros avatar emawork avatar DANCHE avatar Hoang Nguyen avatar Lucas Nobre avatar SrunScotty avatar  avatar Hanbyeol Shin /  David Shin / 신한별 avatar Ait daoud El Houssein avatar 伏毅 avatar Hex avatar  avatar

Watchers

JeongHun Kang avatar redsight avatar Gianluca Rettore avatar Mitchell avatar  avatar  avatar  avatar  avatar

pm2-webui's Issues

Start Process

Great project you have here! Thanks for your work.

Do you have any plans to add a hook for pm2.start?

Cannot access logs on the CLI

When I start the web UI. I cannot open my logs anymore on the CLI. Is the service blocking out this output?

~/pm2-webui/src$ pm2 logs node[4273]: pthread_create: Resource temporarily unavailable

Why using absolute paths?

Hello, unfortunately by using absolute paths it is not possible to access the app via a reverse proxy because the redirects point to wrong paths.

example for https://mydomain.com/pm2:

ProxyPass /pm2 http://127.0.0.1:5555
ProxyPassReverse /pm2 http://127.0.0.1:5555

on login it redirect me to https://mydomain.com/login and not to https://mydomain.com/pm2/login.

application does not work

I followed the installation step by step, it does not list web access

I already marked the proxy to false

I updated the dependencies and it doesn't work

Is this code active or has it been discontinued?

Slashes in a process name are not handled properly

I have a PM2 process named:
App Name (8080/433)

When trying to click on the app, I get a 404 page as the slash in the URL is not properly encoded out.
It therefore tries to go to:
http://WEBUIURL/apps/App%20Name%20(8080/433)
where /433 is a subdomain of /App%20Name%20(8080

I might be able to fix this myself in a Pull request, but if someone wants to beat me to it, I wouldn't mind!

Add more servers.

We can see the pm2 processes on the local host. Now we need add more servers which many other pm2 processes reside. How to do it?

Can't make it run

Hello, I run this steps:

USAGE
git clone https://github.com/suryamodulus/pm2-webui
cd pm2-webui
npm install
cp env.example .env
npm run setup-admin-user (Required for login)
npm start

And when I run npm start it says application is served but I expose the port and it keeps saying connection refused.

I don't know if the issue is with my machine as I have other ports exposing services and they are working fine.

I tried to set app.proxy = false; in app.js but it didn't change anything.

And when I try to curl the url being logged in the machine it says "redirecting to login" as its supposed to, so the service is working fine... the issue is with exposing the port

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.