This project provides a web interface for managing containers and miners using pm2. The web interface allows users to view and control the status of containers, including starting, stopping, and restarting. Additionally, it provides functionality to save and enable/disable configurations for enhanced control and monitoring.
- Real-time Status Display: View the real-time status of containers and miners, including whether they are stopped or online.
- Action Buttons: Execute actions like starting, stopping, and restarting containers. Tail logs to monitor container activities.
- Configuration Saving: Save the current configuration of containers and miners.
- Enable/Disable Containers: Enable or disable containers individually for better control.
Before running this application, ensure that the following dependencies are installed:
-
Clone this repository:
git clone https://github.com/RogerOrRobert/Keep-Alive-Project.git cd Keep-Alive-Project
-
Install dependencies:
npm install
-
Start the application using pm2:
pm2 start ecosystem.config.js
Access the web interface by navigating to http://localhost:<PORT>
in your web browser, where <PORT>
is the specified port in the pm2 ecosystem configuration.
The interface displays a table with information about each container and miner. You can perform various actions, such as starting, stopping, and restarting containers. Additionally, you can save the current configuration and enable/disable individual containers.
Ensure that you have configured your pm2 ecosystem file (typically ecosystem.config.js
) to correctly manage your application. The provided scripts assume the usage of pm2 for process management.
- The interface relies on Socket.IO for real-time updates. Ensure that the Socket.IO server is correctly configured and connected.
If you encounter any issues or errors during the installation or usage of this web interface, please refer to the following steps:
- Check the console output for any error messages.
- Review the pm2 logs for detailed information.
This project is licensed under the MIT License.
Feel free to contribute, report issues, or suggest improvements. Happy container management!