mirror of
https://github.com/valitydev/file-storage.git
synced 2024-11-06 00:35:22 +00:00
ccdaffe109
* fix linter
30 lines
656 B
YAML
30 lines
656 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
minio:
|
|
image: quay.io/minio/minio:RELEASE.2021-10-13T00-23-17Z
|
|
command: server --console-address ":9001" /data{1...12}
|
|
hostname: minio
|
|
expose:
|
|
- "9000"
|
|
- "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
|
|
|
|
nginx:
|
|
image: nginx:1.19.2-alpine
|
|
hostname: nginx
|
|
volumes:
|
|
- ./nginx-minio.conf:/etc/nginx/nginx.conf:ro
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
depends_on:
|
|
- minio
|