mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
We agreed to move the 'opencloud_full' example to a new directory to avoid confusion with the supported compose examples in opencloud-compose. This commit keeps the bare-metal example in place as that is still mentioned in the documentation.
33 lines
986 B
YAML
33 lines
986 B
YAML
---
|
|
services:
|
|
minio:
|
|
image: minio/minio:latest
|
|
# release notes: https://github.com/minio/minio/releases
|
|
networks:
|
|
opencloud-net:
|
|
entrypoint:
|
|
- /bin/sh
|
|
command:
|
|
[
|
|
"-c",
|
|
"mkdir -p /data/${DECOMPOSEDS3_BUCKET:-opencloud-bucket} && minio server --console-address ':9001' /data",
|
|
]
|
|
volumes:
|
|
- minio-data:/data
|
|
environment:
|
|
MINIO_ROOT_USER: ${DECOMPOSEDS3_ACCESS_KEY:-opencloud}
|
|
MINIO_ROOT_PASSWORD: ${DECOMPOSEDS3_SECRET_KEY:-opencloud-secret-key}
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.minio.entrypoints=https"
|
|
- "traefik.http.routers.minio.rule=Host(`${MINIO_DOMAIN:-minio.opencloud.test}`)"
|
|
- "traefik.http.routers.minio.tls.certresolver=http"
|
|
- "traefik.http.routers.minio.service=minio"
|
|
- "traefik.http.services.minio.loadbalancer.server.port=9001"
|
|
logging:
|
|
driver: ${LOG_DRIVER:-local}
|
|
restart: always
|
|
|
|
volumes:
|
|
minio-data:
|