create a file on your computer called "docker-compose" and paste the contents of the docker compose file there.
version: '3'
services:
minio:
container_name: s3
image: minio/minio
environment:
- MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE
- MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
command: server /data --console-address ":9001"
ports:
- '9000:9000'
- '9001:9001'
# configure minio on startup (create buckets, etc)
# inspired by https://github.com/minio/minio/issues/4769
# and https://gist.github.com/haxoza/22afe7cc4a9da7e8bdc09aad393a99cc
minio_init:
container_name: s3_init
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add minio http://minio:9000 AKIAIOSFODNN7EXAMPLE wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY;
/usr/bin/mc rb --force minio/model-library;
/usr/bin/mc mb minio/model-library;
/usr/bin/mc policy set public minio/model-library;
/usr/bin/mc cp --recursive /models/ minio/model-library/;
/usr/bin/mc rb --force minio/cc-store;
/usr/bin/mc mb minio/cc-store;
/usr/bin/mc policy set public minio/cc-store;
/usr/bin/mc cp --recursive /payloads/ minio/cc-store/cc_store/;
exit 0;
"
volumes:
- ./models:/models
- ./payloads:/payloads
CODE
Create a sub directory called "models" and "payloads" next to the docker compose file.

Add model data into the models sub directory

notice the sub directory of "kanawha" to group models by a larger "watershed" or "repository".
Add payloads for each model in the payloads directory

inside each model specific folder, drop a file named "payload" with the contents of a cloud compute compatable payload.
launch docker daemon.
open command prompt and change directory to the location containing the docker-compose.yml file
type the command: docker-compose up