Skip to content

Commit

Permalink
Merge pull request pm2-hive#245 from alias-classum/patch-1
Browse files Browse the repository at this point in the history
Update app-declaration.md
  • Loading branch information
Unitech authored Aug 3, 2023
2 parents 9063bd4 + ad9f493 commit 62d92b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/features/app-declaration.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ Application behavior and configuration can be fine-tuned with the following attr
| max_memory_restart | string | "150M" | your app will be restarted if it exceeds the amount of memory specified. human-friendly format : it can be "10M", "100K", "2G" and so on... |
| env | object | {"NODE_ENV": "development", "ID": "42"} | env variables which will appear in your app |
| env_<ENV_NAME> | object | {"NODE_ENV": "production", "ID": "89"} | inject <ENV_NAME> when doing pm2 restart app.yml --env <ENV_NAME>|
| appendEnvToName | boolean | true | default to false. Use to deploy multiple environments on a single server. It will append each env to name. ex) my-api-production |
| source_map_support | boolean | true | default to true, [enable/disable source map file]
| instance_var | string | "NODE_APP_INSTANCE" | [see documentation](http://pm2.keymetrics.io/docs/usage/environment/#specific-environment-variables)|
| filter_env | array of string | [ "REACT_" ] | Excludes global variables starting with "REACT_" and will not allow their penetration into the cluster. |
Expand Down

0 comments on commit 62d92b0

Please sign in to comment.