app-store/apps/minio/docker-compose.yml
sclaren 44f8469a56
Minio (#487)
* Added Minio Object Storage

* Added missin , in config

* removed uneccesary ,

* Updated server command

* Try to fix issue with server command

* server command again

* Server…

* Another try…

* dont get ist to run

* fixed missing )

* fixed mismatched url scheme

* changed version and try to add two traefic routes to expose console and api

* workaround for api url

* Description changed

* Added MinIO to List of available apps to READM

* Added MinIO to List of available apps to README.md

* Update Config and Metadata

---------

Co-authored-by: Sascha Claren <sascha@saschas-macbook-pro.local>
Co-authored-by: Sascha Claren <sascha@claren.dev>
Co-authored-by: Sascha <sc@dreamdev.de>
Co-authored-by: DrMxrcy <drmxrcy@gmail.com>
2023-05-24 09:07:29 -04:00

34 lines
1.3 KiB
YAML

version: '3.9'
services:
minio:
container_name: minio
image: minio/minio:RELEASE.2023-05-04T21-44-30Z
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
- MINIO_BROWSER_REDIRECT_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
- MINIO_DOMAIN=Host(`${APP_DOMAIN}`)
ports:
- 8000:9000
- ${APP_PORT}:9001
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/minio/data:/data
networks:
- tipi_main_network
command: "server --console-address :9001 /data"
labels:
traefik.enable: ${APP_EXPOSED}
# Console
traefik.http.routers.minio-console.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.minio-console.entrypoints: websecure
traefik.http.routers.minio-console.service: minio-console
traefik.http.routers.minio-console.tls.certresolver: myresolver
traefik.http.services.minio-console.loadbalancer.server.port: 9001
# API
traefik.http.routers.minio.rule: Host(`${MINIO_API_URL}`)
traefik.http.routers.minio.entrypoints: websecure
traefik.http.routers.minio.service: minio
traefik.http.routers.minio.tls.certresolver: myresolver
traefik.http.services.minio.loadbalancer.server.port: 9000