# rabbit-shop **Repository Path**: 6669999/rabbit-shop ## Basic Information - **Project Name**: rabbit-shop - **Description**: 小兔鲜儿后端服务 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 2 - **Created**: 2024-08-31 - **Last Updated**: 2026-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## minio 参考 https://blog.csdn.net/cxdashuaibi/article/details/130745444 ## 初始化 ```java // RabbitShopApplication.class ConfigurableApplicationContext context = SpringApplication.run(RabbitShopApplication.class, args); // 初始化数据 ShopInitializeService bean = context.getBean(ShopInitializeService.class); bean.init(); ``` ## application.yml ```yaml spring: data: mongodb: host: mangodb的ip port: mangodb的端口 database: shop username: root password: 123456 authentication-database: admin minio: endpoint: http://192.168.1.3 # 安装步骤10中创建的访问密钥 accessKey: accessKey secretKey: secretKey # 安装步骤9中创建的bckets名字 bucketName: shop secure: false port: 9002 logging: level: org.springframework.data.mongodb.core.MongoTemplate: DEBUG ```