Install minio, which is Amazon S3 compatible API Minio is an open source object storage server with Amazon S3 compatible API. Step 1: The “docker-compose.yml” with minio to emulate AWS S3.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | version: "2" services: s3: container_name: s3 image: minio/minio:RELEASE.2018-05-04T23-13-12Z environment: MINIO_ACCESS_KEY: user MINIO_SECRET_KEY: password ports: - 9000:9000 volumes: - ./docker/s3/data:/data - ./docker/s3/config:/root/.minio networks: - infra command: server /data networks: infra: external: name: docker_test_infra |
Step 2: You can start the minio service…