Configuration

This section contains information for configuring Tessellate services in production. Each service follows the twelve-factor principle and relies on configuration in environment variables. We use the nconf library to achieve a hierarchical configuration model. You can read the config.yaml file of each service to discover the respective default values.

tessellate-bundler

  • APP_PORT – Port on which the service listens.
  • MORGAN_FORMATFormat for the morgan HTTP request logger.
  • MORGAN_THRESHOLD – Do not log HTTP requests with status code values below this number.
  • PUBLISH_TARGET – Path under which to publish compiled bundles. Must start with protocol:// where protocol can be one of the following:
    • file – Local file system path.
    • s3 – AWS S3 path. Not implemented (#7)
  • NPM_MODULES – List of additional npm modules which are required to compile bundles. Also see webpack-sandboxed.
  • NPM_EXTERNALS – List of npm modules which should be excluded from compiled bundles. Also see webpack externals.

tessellate-fragment

  • APP_PORT – Port on which the service listens.
  • MORGAN_FORMATFormat for the morgan HTTP request logger.
  • MORGAN_THRESHOLD – Do not log HTTP requests with status code values below this number.
  • BUNDLES_SOURCE – Remote address under which to resolve precompiled bundles.

Under construction 🏗️ 🚧 👷

results matching ""

    No results matching ""