Browsing Tag

Javascript

Launching multiple instances of PostGraphile with PM2

Launching multiple instances of PostGraphile with PM2

Launching PostGraphile with PM2 allows multiple PostGres databases to be exposed through GraphQL.

PostGraphile allows additional plugins to support advanced filtering and queries capabilities.

However, PM2 requires special configuration to allows multiple processes with same script name to be started.

In this post, we review the configuration required to achieve this.