ClickHouse/tests/integration/compose/docker_compose_minio.yml
2024-11-06 20:42:50 +01:00

53 lines
1.2 KiB
YAML

services:
minio1:
image: minio/minio:RELEASE.2024-07-31T05-46-26Z
volumes:
- data1-1:/data1
- ${MINIO_CERTS_DIR:-}:/certs
expose:
- ${MINIO_PORT:-9001}
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
MINIO_PROMETHEUS_AUTH_TYPE: public
command: server --console-address 127.0.0.1:19001 --address :9001 --certs-dir /certs /data1-1
depends_on:
- proxy1
- proxy2
networks:
default:
aliases:
- warehouse.minio
# HTTP proxies for Minio.
proxy1:
image: clickhouse/s3-proxy
expose:
- "8080" # Redirect proxy port
- "80" # Reverse proxy port
- "443" # Reverse proxy port (secure)
proxy2:
image: clickhouse/s3-proxy
expose:
- "8080"
- "80"
- "443"
# Empty container to run proxy resolver.
resolver:
image: clickhouse/python-bottle:${DOCKER_PYTHON_BOTTLE_TAG:-latest}
expose:
- "8080"
tty: true
depends_on:
- proxy1
- proxy2
volumes:
- type: ${RESOLVER_LOGS_FS:-tmpfs}
source: ${RESOLVER_LOGS:-}
target: /var/log/resolver
volumes:
data1-1: