You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many use cases, it would be awesome to have a hook which is executed after an app is (re)started, which could do all kinds of tasks.
My specific use-case is to retrieve relevant secrets from a vault system and injecting them the booting app. By doing this in a hook which runs within the PM2 God module process space, and applying some additional tricks, a setup can be constructed where PM2 plays the role of 'trusted intermediate': It will be the only entity in the system with access to the Vault system and deliver appropriate secrets to appropriate apps.
Other possible use-cases could be integration with a service-discovery system, service health monitoring, and many more
The text was updated successfully, but these errors were encountered:
For many use cases, it would be awesome to have a hook which is executed after an app is (re)started, which could do all kinds of tasks.
My specific use-case is to retrieve relevant secrets from a vault system and injecting them the booting app. By doing this in a hook which runs within the PM2 God module process space, and applying some additional tricks, a setup can be constructed where PM2 plays the role of 'trusted intermediate': It will be the only entity in the system with access to the Vault system and deliver appropriate secrets to appropriate apps.
Other possible use-cases could be integration with a service-discovery system, service health monitoring, and many more
The text was updated successfully, but these errors were encountered: