From 28076b2e331289fe467432f7e617688ab78d114b Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 26 Sep 2024 12:54:26 +0300 Subject: [PATCH] update compose file --- .env | 1 + compose.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 03ba094..c72b7af 100644 --- a/.env +++ b/.env @@ -2,3 +2,4 @@ CLICKHOUSE_USER=default CLICKHOUSE_PASSWORD=default CLICKHOUSE_DB=default CLICKHOUSE_PORT=8123 +CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 \ No newline at end of file diff --git a/compose.yml b/compose.yml index 04b3c6e..9ef3c97 100644 --- a/compose.yml +++ b/compose.yml @@ -15,12 +15,12 @@ services: clickhouse: image: clickhouse/clickhouse-server:24 environment: - - CLICKHOUSE_DB=default - - CLICKHOUSE_USER=default - - CLICKHOUSE_PASSWORD=default - - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 + - CLICKHOUSE_DB=${CLICKHOUSE_DB} + - CLICKHOUSE_USER=${CLICKHOUSE_USER} + - CLICKHOUSE_PASSWORD=${CLICKHOUSE_USER} + - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=${CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT} ports: - - '8123:8123' + - '${CLICKHOUSE_PORT:-8123}:8123' ulimits: nofile: soft: 262144