minio

· 4 mins read

deploy minio on docker-compose

docker-compose.yml Stand-alone deployment

version: '3'
services: 
  minio: 
    image: "minio/minio"
    container_name: minio-server
    ports:
      - "9000:9000"
      - "9090:9090"
    environment:
      - MINIO_ROOT_USER=ROOTNAME
      - MINIO_ROOT_PASSWORD=CHANGEME123
    volumes:
      - "~/minio/data:/data"
    command: server --console-address ":9090" /data --address ":9000"  

bug

bug list

need to enable JavaScript to run this app

Set Bucket Access Policy to public and request resources receive You need to enable JavaScript to run this app
Solution: Add a static port -address :9000

docker run \
   -d \
   -p 9000:9000 \
   -p 9090:9090 \
   --name minio \
   -v ~/minio/data:/data \
   -e "MINIO_ROOT_USER=ROOTNAME" \
   -e "MINIO_ROOT_PASSWORD=CHANGEME123" \
   quay.io/minio/minio server /data --console-address ":9090" -address ":9000" # static port

other

Docker compose快速部署minio服务