s3-storage:
image: minio/minio:RELEASE.2021-12-20T22-07-16Z
container_name: s3-storage
ports:
- 9000:9000
- 9001:9001
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
- ./persistent/minio:/data
Created
December 28, 2021 04:16
-
-
Save tuanlc/b3166f30d5a21d74a1dadbb0d890dbed to your computer and use it in GitHub Desktop.
run minio service in docker compose
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment