mirror of
https://github.com/unraid/api.git
synced 2026-04-25 16:58:38 -05:00
fix(ecosystem): disable extra logging in production
This commit is contained in:
+4
-3
@@ -1,7 +1,6 @@
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
const common = {
|
||||
// Default values
|
||||
name: 'graphql-api',
|
||||
script: './index.js',
|
||||
watch: false,
|
||||
@@ -11,8 +10,7 @@ const common = {
|
||||
out_file: '/var/log/graphql-api.log',
|
||||
exp_backoff_restart_delay: 100,
|
||||
max_memory_restart: '200M',
|
||||
PORT: '/var/run/graphql-api.sock',
|
||||
NODE_ENV: 'production'
|
||||
PORT: '/var/run/graphql-api.sock'
|
||||
};
|
||||
|
||||
const envs = {
|
||||
@@ -25,6 +23,9 @@ const envs = {
|
||||
},
|
||||
env_debug: {
|
||||
DEBUG: true
|
||||
},
|
||||
env_production: {
|
||||
NODE_ENV: 'production'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user