Git Product home page Git Product 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

dependabot[bot] avatar hsborges avatar modulsx 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

pm2-webui's Issues

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?

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?

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.

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

Start Process

Great project you have here! Thanks for your work.

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

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

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!

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.