db configuration externalized