forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.minio.yml
33 lines (33 loc) · 1.1 KB
/
docker-compose.minio.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: "3.7"
volumes:
minio-data:
networks:
default:
internal: true
gateway:
name: gateway
services:
minio:
image: minio/minio:RELEASE.2020-08-26T00-00-49Z
# No volumes are defined here, other docker-compose.yml files such as
# docker-compose.demo.yml are expected to extend this definition based
# on their workflow.
ports:
- "9000:9000"
networks:
default:
aliases:
- minio-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
gateway: # Do not expose in production.
volumes:
- minio-data:/data
command: server /data
labels:
traefik.enable: "true"
traefik.http.routers.idc-minio_http.entrypoints: http
traefik.http.routers.idc-minio_http.rule: Host(`minio-idc.traefik.me`)
traefik.http.routers.idc-minio_http.service: idc-minio
traefik.http.routers.idc-minio_https.entrypoints: https
traefik.http.routers.idc-minio_https.rule: Host(`minio-idc.traefik.me`)
traefik.http.routers.idc-minio_https.tls: "true"
traefik.http.services.idc-minio.loadbalancer.server.port: '9000'