mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
version: '2.3'
|
|
|
|
services:
|
|
minio1:
|
|
image: minio/minio
|
|
volumes:
|
|
- data1-1:/data1
|
|
- ${MINIO_CERTS_DIR:-}:/certs
|
|
ports:
|
|
- "9001:9001"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minio
|
|
MINIO_SECRET_KEY: minio123
|
|
command: server --address :9001 --certs-dir /certs /data1-1
|
|
depends_on:
|
|
- proxy1
|
|
- proxy2
|
|
|
|
# HTTP proxies for Minio.
|
|
# TODO: Remove build section and replace with yandex/clickhouse-s3-proxy image after this commit merge.
|
|
proxy1:
|
|
build:
|
|
context: ../../../docker/test/integration/s3_proxy/
|
|
network: host
|
|
ports:
|
|
- "8080" # Redirect proxy port
|
|
- "80" # Reverse proxy port
|
|
- "443" # Reverse proxy port (secure)
|
|
|
|
proxy2:
|
|
build:
|
|
context: ../../../docker/test/integration/s3_proxy/
|
|
network: host
|
|
ports:
|
|
- "8080"
|
|
- "80"
|
|
- "443"
|
|
|
|
# Empty container to run proxy resolver.
|
|
# TODO: Remove build section and replace with yandex/clickhouse-python-bottle image after this commit merge.
|
|
resolver:
|
|
build:
|
|
context: ../../../docker/test/integration/
|
|
dockerfile: resolver/Dockerfile
|
|
network: host
|
|
ports:
|
|
- "8080"
|
|
tty: true
|
|
depends_on:
|
|
- proxy1
|
|
- proxy2
|
|
|
|
volumes:
|
|
data1-1:
|