version: '3.4' services: # https://github.com/minio/minio/blob/master/docs/orchestration/docker-compose/nginx.conf minio: image: docker.io/bitnami/minio:2023.12.23 # image: quay.io/minio/minio:RELEASE.2022-12-12T19-27-27Z ports: - '9000:9000' - '9001:9001' networks: - minionetwork volumes: - 'minio_data:/data' environment: - MINIO_ROOT_USER=lyq - MINIO_ROOT_PASSWORD=lyq121212 - MINIO_DEFAULT_BUCKETS=bucket1 - MINIO_ADDRESS=:9000 - MINIO_CONSOLE_ADDRESS=:9001 # command: server --console-address ":9001" /data # command: minio server /data networks: minionetwork: driver: bridge volumes: minio_data: driver: local