diff --git a/ecosystem.config.js b/ecosystem.config.js index 5def3da64..78bc87ac1 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -11,12 +11,6 @@ const common = { max_memory_restart: '200M' }; -const nonDevelopment = { - PORT: '/var/run/graphql-api.sock', - error_file: '/var/log/graphql-api.log', - out_file: '/var/log/graphql-api.log' -} - const envs = { env_development: { PORT: 5000, @@ -33,7 +27,8 @@ const envs = { DEBUG: true }, env_production: { - NODE_ENV: 'production' + NODE_ENV: 'production', + PORT: '/var/run/graphql-api.sock' } }; diff --git a/package.json b/package.json index eef35b237..1b4fb7bab 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ }, "files": [ "dist", - "index.js" + "index.js", + "ecosystem.config.js" ], "dependencies": { "@apollo/client": "^3.2.0",