19. Layer nodejs

19.1. Overview

The layer1_nodejs layer includes the Node.js cross-platform JavaScript runtime environment.

It is included in the .layerapi2_dependencies file of the plugin when you create a web server with the node template during the creation of a plugin.

You may also manually include this dependencies (i.e. Label) in the .layerapi2_dependencies file.

This layer also include tools to neatly start and stop the Node.js web server (see /opt/metwork-mfserv/opt/nodejs/lib/node_modules/metwork-tools/index.js).

19.2. Metadata

19.2.1. Layer Home

/opt/metwork-mfserv-0.8/opt/nodejs

19.2.2. Label

nodejs@mfserv

19.2.3. Dependencies

19.2.4. Extra-environment (loaded after layer load)

NODE_TLS_REJECT_UNAUTHORIZED=0