Added DB configuration

Signed-off-by: Julien 'Tyloo' Bonvarlet <jbonva@gmail.com>