Skip to content

Instantly share code, notes, and snippets.

@clonn
Created March 29, 2022 02:59
Show Gist options
  • Save clonn/0aea43fe789c8ddc47b1493c9f151e06 to your computer and use it in GitHub Desktop.
Save clonn/0aea43fe789c8ddc47b1493c9f151e06 to your computer and use it in GitHub Desktop.

Revisions

  1. clonn created this gist Mar 29, 2022.
    68 changes: 68 additions & 0 deletions pm2-gui.ini
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,68 @@
    ;
    ; Home directory of pm2.
    ;
    pm2 = ~/.pm2
    ;
    ; The monitor will fetch system CPU/Memory amount after this certain time interval.
    ; it could be milliseconds or various time formats(https://github.com/zeit/ms)
    ;
    refresh = 5s
    ;
    ; Port of Web server and socket agent.
    ;
    port = 8088
    ;
    ; A value indicates whether or not run the pm2-gui as damonization.
    ;
    daemonize = false
    ;
    ; A value indicates whether or not the action buttons (i.e. `restart`, `stop all`...) should be displayed on web page.
    ;
    readonly = false
    ;
    ; The monitor will fetch process CPU/Memory amount after this certain time interval.
    ; it could be milliseconds or various time formats(https://github.com/zeit/ms)
    ;
    process_refresh = 3s

    [log]
    ;
    ; Log directory.
    ;
    dir = ./logs
    ;
    ; A value indicates whether or not display the [INFO], [ERROR].. prefixes before log message.
    ;
    prefix = true
    ;
    ; A value indicates whether or not display the local date string before log message.
    ;
    date = false
    ;
    ; Log level, one of debug, log, info, warn, error.
    ;
    level = info
    ;
    ; Socket.io origins check, e.g.:
    ; origins = 'example.com:* http://example.com:* http://www.example.com:8088'
    ; By default:
    ; origins = *:*

    [agent]
    ;
    ; This authorization will be used to authorize socket / web connections if it's set.
    ;
    ;authorization = AuTh
    ;
    ; A value indicates whether agent offline or not.
    ;
    ; offline = true
    [remotes]
    ;
    ; the dashboard and web server will use this section to connect remoting socket server
    ; server_name = [authorization@]host:port
    ;
    ; pm2@171 = AuTh@https://192.168.1.171:9002/sockserv
    ; pm2@172 = 192.168.1.172:9001
    ; pm2@173 = 192.168.1.173:9000
    ;