lasthourcloud/templates/compose/minio.yaml

22 lines
737 B
YAML
Raw Normal View History

2024-02-20 14:42:30 +00:00
# documentation: https://min.io/docs/minio/container/index.html
2023-10-19 09:28:25 +00:00
# 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
2024-02-20 14:42:30 +00:00
# logo: svgs/minio.svg
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:
2023-11-11 20:32:41 +00:00
- MINIO_SERVER_URL=$MINIO_SERVER_URL
- MINIO_BROWSER_REDIRECT_URL=$MINIO_BROWSER_REDIRECT_URL
2023-11-10 21:04:04 +00:00
- MINIO_ROOT_USER=$SERVICE_USER_MINIO
- MINIO_ROOT_PASSWORD=$SERVICE_PASSWORD_MINIO
2023-10-04 13:43:29 +00:00
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 20s
retries: 10