Add pm2.

parent 49605b4a
module.exports = {
apps: [
{
name: 'keystone_6',
script: './node_modules/@keystone-6/core/bin/cli.js',
args: 'start',
instances: 1,
exec_mode: 'cluster',
wait_ready: true,
listen_timeout: 10000,
env: {
PORT: 3000,
},
},
],
};
\ No newline at end of file
No preview for this file type
......@@ -37,11 +37,4 @@ export default config({
url: 'file:./keystone.db',
},
lists,
server: {
cors: { origin: ['http://localhost:7777'], credentials: true },
port: 3000,
maxFileSize: 200 * 1024 * 1024,
extendExpressApp: (app, commonContext) => { /* ... */ },
extendHttpServer: (httpServer, commonContext, graphQLSchema) => { /* ... */ },
},
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment