Skip to content

This repository houses unofficial Docker images for PM2, the advanced, production process manager for Node.js. These images are built as newer versions are released and the official keymetrics/pm2 repository is no longer maintained.

License

Notifications You must be signed in to change notification settings

TyreseDev/pm2-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unofficial PM2 Docker Images

This repository houses unofficial Docker images for PM2, the advanced, production process manager for Node.js. These images are built as newer versions are released and the official keymetrics/pm2 repository is no longer maintained.

Disclaimer: This is an unofficial repository and not directly affiliated with or endorsed by the official PM2 or Keymetrics teams.

Supported Tags and Respective Dockerfile Links

Alpine:

Bookworm:

Slim:

Usage

To use these Docker images, you can pull them directly from Docker Hub and use them in your Dockerfiles or docker-compose files.

Dockerfile Example

FROM tyrese3915/pm2:latest

# Your application's setup
COPY . /app
WORKDIR /app

# Install dependencies and build your app
RUN npm install

# Start your app using PM2
CMD ["pm2-runtime", "start", "ecosystem.config.js"]

docker-compose Example

version: '3.8'
services:
  app:
    image: tyrese3915/pm2:latest
    volumes:
      - .:/app
    working_dir: /app
    command: pm2-runtime start ecosystem.config.js

Building from Source

For those interested in building their own image from this repository, you can clone the repository and build using Docker commands.

git clone https://github.com/tyrese3915/pm2-docker.git
cd pm2-docker
bash build-and-push.sh

Contributing

Contributions to improve the images or add new versions are welcome! Please submit an issue or pull request with your suggestions.

License

This project is under MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the PM2 team for their excellent process manager.
  • This project is inspired by the official but no longer maintained keymetrics/pm2 repository.

About

This repository houses unofficial Docker images for PM2, the advanced, production process manager for Node.js. These images are built as newer versions are released and the official keymetrics/pm2 repository is no longer maintained.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published