使用docker-compose部署minio

点 赞
0
热 度
92
评 论
0
  1. 首页
  2. 报表及中间件
  3. Docker容器
  4. 使用docker-compose部署minio

使用docker-compose部署MinIO

services:
  minio:

    command:
      - "server"
      - "/data"
      - "--console-address"
      - ":9090"
      - "-address"
      - ":9000"

    container_name: "minio"

    entrypoint:
      - "/usr/bin/docker-entrypoint.sh"

    environment:
      - "MINIO_ACCESS_KEY=wshlyl"
      - "MINIO_SECRET_KEY=wsh9210832"
      - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
      - "MINIO_ACCESS_KEY_FILE=access_key"
      - "MINIO_SECRET_KEY_FILE=secret_key"
      - "MINIO_ROOT_USER_FILE=access_key"
      - "MINIO_ROOT_PASSWORD_FILE=secret_key"
      - "MINIO_KMS_SECRET_KEY_FILE=kms_master_key"
      - "MINIO_UPDATE_MINISIGN_PUBKEY=RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav"
      - "MINIO_CONFIG_ENV_FILE=config.env"
      - "MC_CONFIG_DIR=/tmp/.mc"

    hostname: "6171da4ea690"

    image: "minio/minio"

    ipc: "private"

    labels:
      architecture: "x86_64"
      build-date: "2025-03-10T17:11:09Z"
      com.redhat.component: "ubi9-micro-container"
      com.redhat.license_terms: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
      description: "MinIO object storage is fundamentally different. Designed for performance and the\
        \ S3 API, it is 100% open-source. MinIO is ideal for large, private cloud environments with stringent\
        \ security requirements and delivers mission-critical availability across a diverse range of workloads."
      distribution-scope: "public"
      io.buildah.version: "1.39.0-dev"
      io.k8s.description: "Very small image which doesn't install the package manager."
      io.k8s.display-name: "Red Hat Universal Base Image 9 Micro"
      io.openshift.expose-services: ""
      maintainer: "MinIO Inc <dev@min.io>"
      name: "MinIO"
      release: "RELEASE.2025-03-12T18-04-18Z"
      summary: "MinIO is a High Performance Object Storage, API compatible with Amazon S3 cloud storage\
        \ service."
      url: "https://www.redhat.com"
      vcs-ref: "6417a05b5f45b0d312c5c436b8bbe8b67cbdb551"
      vcs-type: "git"
      vendor: "MinIO Inc <dev@min.io>"
      version: "RELEASE.2025-03-12T18-04-18Z"

    logging:
      driver: "db"
      options: {}

    mac_address: "02:42:ac:11:00:03"

    network_mode: "bridge"

    ports:
      - "9000:9000/tcp"
      - "9090:9090/tcp"

    restart: "always"

    volumes:
      - "/volume3/MinIo:/data"
      - "/volume3/MinIo:/root/.minio"

    working_dir: "/"

version: "3.6"


余乃云水散人,栖于数字之墟。性耽幽静,常以青简为田,墨痕为穗。晨起推窗,听松风煮茶;夜阑掩卷,伴竹影扫阶。此间筑小筑三椽,藏闲话若干:或遇史海遗珠,则录以素札;偶得诗瓢碎玉,便缀作清吟。往来皆烟霞客,谈笑有鸿儒踪。诸君若得暇,不妨暂驻云履,共品一盏烟岚,半卷春秋。

不具版权性
不具时效性

文章内容不具时效性。若文章内容有错误之处,请您批评指正。

目录

欢迎来到南鸢宸羲的站点,为您导航全站动态

179 文章数
39 分类数
1 评论数
48标签数
最近评论
西北技术支持中心

西北技术支持中心


开始建站了😀