import { DATABASE_SSL, DATABASE_URL, REDIS_URL } from '../lib/constants' import Healthcheck from 'hapi-health-check' export default { options: { health_checks: [{ options: { ssl: DATABASE_SSL, url: DATABASE_URL }, type: 'postgres' }, { options: { url: REDIS_URL }, type: 'redis' }], path: '/status' }, register: Healthcheck }