lasthourcloud/templates/compose/minio.yaml

21 lines
683 B
YAML
Raw Normal View History

2023-10-19 09:28:25 +00:00
# documentation: https://docs.min.io/docs/minio-docker-quickstart-guide.html
# slogan: MinIO is a high performance object storage server compatible with Amazon S3 APIs.
2023-10-24 10:33:49 +00:00
# tags: object, storage, server, s3, api
2023-10-19 09:28:25 +00:00
2023-10-04 13:43:29 +00:00
services:
minio:
2023-10-19 09:28:25 +00:00
image: quay.io/minio/minio:latest
2023-10-04 13:43:29 +00:00
command: server /data --console-address ":9001"
environment:
SERVICE_FQDN_MINIO_9000:
SERVICE_FQDN_CONSOLE_9001:
MINIO_ROOT_USER: $SERVICE_USER_MINIO
MINIO_ROOT_PASSWORD: $SERVICE_PASSWORD_MINIO
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 20s
retries: 10