ClickHouse/docker/test/integration/runner/compose/docker_compose_minio.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.1 KiB
YAML
Raw Normal View History

version: '2.3'
services:
minio1:
2023-01-05 09:12:56 +00:00
# Newer version of minio results in such errors:
# "AWSErrorMarshaller: Encountered AWSError 'InternalError': We encountered an internal error, please try again"
image: minio/minio:RELEASE.2021-09-23T04-46-24Z
volumes:
2023-01-05 09:12:56 +00:00
- data1-1:/data1
2020-07-10 19:42:18 +00:00
- ${MINIO_CERTS_DIR:-}:/certs
2021-05-12 07:03:53 +00:00
expose:
- ${MINIO_PORT:-9001}
environment:
2023-01-05 09:12:56 +00:00
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
MINIO_PROMETHEUS_AUTH_TYPE: public
2023-01-05 09:12:56 +00:00
command: server --address :9001 --certs-dir /certs /data1-1
depends_on:
2020-07-10 19:42:18 +00:00
- proxy1
- proxy2
2020-07-10 19:42:18 +00:00
# HTTP proxies for Minio.
proxy1:
2021-09-06 11:33:39 +00:00
image: clickhouse/s3-proxy
2021-05-12 07:03:53 +00:00
expose:
2020-07-10 19:42:18 +00:00
- "8080" # Redirect proxy port
- "80" # Reverse proxy port
- "443" # Reverse proxy port (secure)
proxy2:
2021-09-06 11:33:39 +00:00
image: clickhouse/s3-proxy
2021-05-12 07:03:53 +00:00
expose:
2020-07-10 19:42:18 +00:00
- "8080"
- "80"
- "443"
2020-07-10 19:42:18 +00:00
# Empty container to run proxy resolver.
resolver:
2021-09-06 11:33:39 +00:00
image: clickhouse/python-bottle
2021-05-12 07:03:53 +00:00
expose:
2020-07-10 19:42:18 +00:00
- "8080"
tty: true
depends_on:
- proxy1
- proxy2
volumes:
data1-1: