use configService to config docBase, photo/logo size