2020-05-19 15:27:10 +00:00
|
|
|
version: '2.3'
|
2019-11-20 11:56:38 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
minio1:
|
|
|
|
image: minio/minio
|
|
|
|
volumes:
|
|
|
|
- data1-1:/data1
|
2020-07-10 19:42:18 +00:00
|
|
|
- ${MINIO_CERTS_DIR:-}:/certs
|
2019-11-20 11:56:38 +00:00
|
|
|
ports:
|
|
|
|
- "9001:9001"
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2020-07-10 09:32:34 +00:00
|
|
|
MINIO_PROMETHEUS_AUTH_TYPE: public
|
2020-07-10 19:42:18 +00:00
|
|
|
command: server --address :9001 --certs-dir /certs /data1-1
|
2020-05-12 14:34:37 +00:00
|
|
|
depends_on:
|
2020-07-10 19:42:18 +00:00
|
|
|
- proxy1
|
|
|
|
- proxy2
|
2019-11-20 11:56:38 +00:00
|
|
|
|
2020-07-10 19:42:18 +00:00
|
|
|
# HTTP proxies for Minio.
|
2020-04-29 08:39:00 +00:00
|
|
|
proxy1:
|
2020-07-10 20:38:48 +00:00
|
|
|
image: yandex/clickhouse-s3-proxy
|
2020-04-29 08:39:00 +00:00
|
|
|
ports:
|
2020-07-10 19:42:18 +00:00
|
|
|
- "8080" # Redirect proxy port
|
|
|
|
- "80" # Reverse proxy port
|
|
|
|
- "443" # Reverse proxy port (secure)
|
2020-04-29 08:39:00 +00:00
|
|
|
|
|
|
|
proxy2:
|
2020-07-10 20:38:48 +00:00
|
|
|
image: yandex/clickhouse-s3-proxy
|
2020-04-29 08:39:00 +00:00
|
|
|
ports:
|
2020-07-10 19:42:18 +00:00
|
|
|
- "8080"
|
|
|
|
- "80"
|
|
|
|
- "443"
|
2020-04-29 08:39:00 +00:00
|
|
|
|
2020-07-10 19:42:18 +00:00
|
|
|
# Empty container to run proxy resolver.
|
2020-05-08 10:53:12 +00:00
|
|
|
resolver:
|
2020-07-10 20:38:48 +00:00
|
|
|
image: yandex/clickhouse-python-bottle
|
2020-05-08 10:53:12 +00:00
|
|
|
ports:
|
2020-07-10 19:42:18 +00:00
|
|
|
- "8080"
|
2020-05-08 10:53:12 +00:00
|
|
|
tty: true
|
2020-05-12 14:34:37 +00:00
|
|
|
depends_on:
|
|
|
|
- proxy1
|
|
|
|
- proxy2
|
2020-05-08 10:53:12 +00:00
|
|
|
|
2019-11-20 11:56:38 +00:00
|
|
|
volumes:
|
|
|
|
data1-1:
|