mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
services:
|
|
|
|
minio-s3:
|
|
image: bitnami/minio:2024
|
|
container_name: minio
|
|
hostname: minio
|
|
environment:
|
|
- MINIO_ROOT_USER=minio # change this
|
|
- MINIO_ROOT_PASSWORD=XscUJuDQP4WuWA55vfXNrc7 # change this
|
|
ports:
|
|
- 9001:9001/tcp
|
|
expose:
|
|
- 9001
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/minio/data:/bitnami/minio/data
|
|
#networks:
|
|
# - proxy
|
|
#labels:
|
|
# - traefik.enable=true
|
|
# - traefik.http.routers.minio.rule=Host(`s3.example.com`)
|
|
# - traefik.http.services.minio.loadbalancer.server.port=9001
|
|
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
|
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
|
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
|
# - traefik.docker.network=proxy
|
|
# # Part for optional traefik middlewares
|
|
# - traefik.http.routers.minio.middlewares=local-ipwhitelist@file,basic-auth@file
|
|
|
|
#networks:
|
|
# proxy:
|
|
# external: true
|