package com.upsfj.sfjprojectbackend.config;

import io.minio.MinioClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MinioConfiguration {

    @Bean
    public MinioClient client(){
        return MinioClient.builder()
                .endpoint("http://192.168.1.133:9000")
                .credentials("minioadmin","minioadmin")
                .build();
    }


}
