From 5d205fb985c09e5acaa334eb00deef5abe8285ff Mon Sep 17 00:00:00 2001 From: Vincent Pochet Date: Thu, 16 May 2024 16:08:00 +0200 Subject: [PATCH] feat(clickhouse): Update config (#349) --- docker-compose.dev.yml | 32 ------------------------- extra/clickhouse/config.d/config.xml | 35 ---------------------------- 2 files changed, 67 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index d8838aa..7487a36 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -299,8 +299,6 @@ services: user: '101:101' depends_on: - db - - minio - - miniocreatebuckets - redpanda - redpandacreatetopics volumes: @@ -310,33 +308,3 @@ services: ports: - 9000:9000 - 8123:8123 - - minio: - image: quay.io/minio/minio - container_name: minio - hostname: minio - command: server --address 0.0.0.0:10000 --console-address 0.0.0.0:10001 /data - ports: - - 10000:10000 - environment: - MINIO_ROOT_USER: lago - MINIO_ROOT_PASSWORD: lagopassword - labels: - - "traefik.enable=true" - - "traefik.http.routers.minio.rule=Host(`minio.lago.dev`)" - - "traefik.http.routers.minio.entrypoints=websecure" - - "traefik.http.routers.minio.tls=true" - - "traefik.http.services.minio.loadbalancer.server.port=10001" - - miniocreatebuckets: - image: minio/mc - depends_on: - - minio - entrypoint: > - /bin/sh -c " - /usr/bin/mc alias set lagominio http://minio:10000 lago lagopassword; - /usr/bin/mc admin info lagominio; - /usr/bin/mc mb lagominio/clickhouse; - /usr/bin/mc policy set public lagominio/clickhouse; - exit 0; - " diff --git a/extra/clickhouse/config.d/config.xml b/extra/clickhouse/config.d/config.xml index 8d024de..c28539c 100644 --- a/extra/clickhouse/config.d/config.xml +++ b/extra/clickhouse/config.d/config.xml @@ -18,39 +18,4 @@ /var/lib/clickhouse/access/ - - - - - - s3 - http://minio:10000/clickhouse/ - lago - lagopassword - - /var/lib/clickhouse/disks/s3/ - true - true - true - - - cache - s3 - /var/lib/clickhouse/disks/s3_cache/ - 10Gi - - - - - - - default - - - s3 - - - - -