Add healthcheck configuration examples

This commit is contained in:
Alejandro Martínez
2015-01-12 16:00:39 +01:00
parent 6c4bb59f06
commit db9d350cae
4 changed files with 44 additions and 0 deletions
+11
View File
@@ -159,6 +159,17 @@ var config = {
handler: 'inline'
}
}
// Settings for the health check available at /health
,health: {
enabled: false,
username: 'localhost',
query: "SELECT 1::int as interactivity_id, '0101000020110F0000EE866678CE876D41466F35C2EC1150C1'::geometry as geom, 'Lorem ipsum dolor sit amet' as label",
srid: 3857,
geometry_field: 'geom',
z: 0,
x: 0,
y: 0
}
};
module.exports = config;