Commit dd3055b2 authored by Michele Carpene's avatar Michele Carpene
Browse files

Update docker-compose.yml

parent 89865fc9
Pipeline #728 failed with stages
in 59 seconds
...@@ -49,3 +49,35 @@ services: ...@@ -49,3 +49,35 @@ services:
links: links:
- icat:icat.irods - icat:icat.irods
command: /app/sleep.sh command: /app/sleep.sh
minio1:
image: minio/minio:RELEASE.2021-02-01T22-56-52Z
volumes:
- data1-1:/data1
- data1-2:/data2
expose:
- "9000"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server http://minio1/data1-1
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
#nginx:
# image: nginx:1.19.2-alpine
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
# ports:
# - "9000:9000"
# depends_on:
# - minio1
## By default this config uses default local driver,
## For custom volumes replace with volume driver configuration.
volumes:
data1-1:
data1-2:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment