2020-05-19 15:27:10 +00:00
|
|
|
version: '2.3'
|
2019-11-20 11:56:38 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
minio1:
|
2021-10-05 08:39:08 +00:00
|
|
|
# Newer version of minio results in such errors:
|
|
|
|
# "AWSErrorMarshaller: Encountered AWSError 'InternalError': We encountered an internal error, please try again"
|
2021-10-05 08:18:16 +00:00
|
|
|
image: minio/minio:RELEASE.2021-09-23T04-46-24Z
|
2019-11-20 11:56:38 +00:00
|
|
|
volumes:
|
|
|
|
- data1-1:/data1
|
2020-07-10 19:42:18 +00:00
|
|
|
- ${MINIO_CERTS_DIR:-}:/certs
|
2021-05-12 07:03:53 +00:00
|
|
|
expose:
|
2021-04-14 11:21:40 +00:00
|
|
|
- ${MINIO_PORT}
|
2019-11-20 11:56:38 +00:00
|
|
|
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:
|
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)
|
2020-04-29 08:39:00 +00:00
|
|
|
|
|
|
|
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-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:
|
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"
|
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:
|