database: add consul service registration