add doctrine configuration