+ nodejs applications support with pm2 manager
* use dockerhost in xdebug3 config for php8 in workspace * set local docker resolver for nginx * refactored base configs (join in one base config) and better separate examples for third party services * set default web port for inbucket to 82 instead of 9090, because last use for cockpit
This commit is contained in:
5
dockerfiles/pm2/Dockerfile
Normal file
5
dockerfiles/pm2/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM keymetrics/pm2:18-buster
|
||||
|
||||
COPY ./ecosystem.config.js /ecosystem.config.js
|
||||
|
||||
CMD ["pm2-runtime", "start", "ecosystem.config.js"]
|
11
dockerfiles/pm2/ecosystem.config.js
Normal file
11
dockerfiles/pm2/ecosystem.config.js
Normal file
@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'NuxtAppName',
|
||||
port: '3000',
|
||||
exec_mode: 'cluster',
|
||||
instances: '2',
|
||||
script: './.output/server/index.mjs',
|
||||
},
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user