Config doctrine entity-manager & cli.