jLinux

Untitled

Dec 29th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "connections": [{
  3.     "port": 8080,
  4.     "labels": ["http"]
  5.   },
  6.     {
  7.       "port": 8088,
  8.       "labels": ["api"]
  9.     }],
  10.   "plugins": {
  11.     /**
  12.      * The $filter is the key that will be used when filtering this JSON object
  13.      */
  14.     "$filter": "env",
  15.     /**
  16.      * The $base is an object that will be merged with the other objects when
  17.      * filtered out. These values are superseded by the values in the merging
  18.      * object (Think of these as the 'defaults'
  19.      */
  20.     "$base": {
  21.       "bell": [{ "select": "http" }],
  22.       "hapi-auth-cookie": [{ "select": "http" }],
  23.       "./authentication": [{ "select": "http" }],
  24.       "./controllers": [{ "select": ["http", "api" ]}],
  25.       "./models": [{ "select": ["http", "api"]}],
  26.       "./routes": [{ "select": ["http"]}],
  27.       "./api": [{ "select": ["api"]}],
  28.       "good": {
  29.         "opsInterval": 5000
  30.       }
  31.     },
  32.     "dev": {
  33.       "blipp": [{}],
  34.       "good": {
  35.         "reporters": [{
  36.           "reporter": "good-console",
  37.           "events": { "ops": "*", "log": "*" }
  38.         }]
  39.       }
  40.     },
  41.     "prod": {
  42.       "good": {
  43.         "reporters": [{
  44.           "reporter": "good-console",
  45.           "events": { "log": "*" }
  46.         }]
  47.       }
  48.     }
  49.   }
  50. }
Advertisement
Add Comment
Please, Sign In to add comment