Add doctrine configuration