mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-20 18:32:30 +08:00
fix: preserve container startup diagnostics
This commit is contained in:
+3
-1
@@ -11,7 +11,9 @@ module.exports = {
|
||||
source_map_support: true,
|
||||
time: !isContainer,
|
||||
out_file: isContainer ? '/dev/null' : undefined,
|
||||
error_file: isContainer ? '/dev/null' : undefined,
|
||||
// Do not persist PM2 logs in containers, but keep early startup errors
|
||||
// visible through `docker logs` before Winston is initialized.
|
||||
error_file: isContainer ? '/proc/1/fd/2' : undefined,
|
||||
script: 'static/build/app.js',
|
||||
env: {
|
||||
http_proxy: '',
|
||||
|
||||
Reference in New Issue
Block a user