Skip to content

单纯的文件服务, 目前仅仅集成了minio(人在电信外包差点没了)

Notifications You must be signed in to change notification settings

mikuhuyo/file-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

文件服务

GitHub license GitHub issues GitHub stars GitHub forks Java version SpringBoot version

http://127.0.0.1:51000/swagger-ui.html

启动

version: "3.7"
services:
  minio:
    image: minio/minio:RELEASE.2022-08-02T23-59-16Z
    privileged: true
    container_name: minio
    ports:
      - "9000:9000"
      - "9001:9001"
    volumes:
      - /root/docker/minio/data1:/data1
      - /root/docker/minio/data2:/data2
    command: server --console-address ":9001" http://minio/data{1...2}
    environment:
      - MINIO_ROOT_USER=root
      - MINIO_ROOT_PASSWORD=yueliminvc@outlook.com
      #- MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
      #- MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
      interval: 30s
      timeout: 20s
      retries: 3

docker-compose up -d

特别鸣谢

关注者

Stargazers repo roster for @mikuhuyo/file-service

收藏者

Forkers repo roster for @mikuhuyo/file-service

请这个b喝杯水?

Alipay


WeChatPay

About

单纯的文件服务, 目前仅仅集成了minio(人在电信外包差点没了)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages