minio/docker-compose.yml hinzugefügt
This commit is contained in:
parent
75a432447b
commit
893f06c022
1 changed files with 22 additions and 0 deletions
22
minio/docker-compose.yml
Normal file
22
minio/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
minio:
|
||||
image: quay.io/minio/minio
|
||||
container_name: minio
|
||||
command: server --console-address ":9090" /data
|
||||
ports:
|
||||
- "127.0.0.1:9000:9000"
|
||||
- "127.0.0.1:9090:9090"
|
||||
environment:
|
||||
MINIO_CONFIG_ENV_FILE: /etc/config.env
|
||||
volumes:
|
||||
- ./volumes/config/minio:/etc/config.env
|
||||
- ./s3_storage:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
restart: unless-stopped
|
Loading…
Add table
Add a link
Reference in a new issue