update compose file

This commit is contained in:
Pavel 2024-09-26 12:54:26 +03:00
parent f3382f71f3
commit 28076b2e33
2 changed files with 6 additions and 5 deletions

1
.env
View File

@ -2,3 +2,4 @@ CLICKHOUSE_USER=default
CLICKHOUSE_PASSWORD=default CLICKHOUSE_PASSWORD=default
CLICKHOUSE_DB=default CLICKHOUSE_DB=default
CLICKHOUSE_PORT=8123 CLICKHOUSE_PORT=8123
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1

View File

@ -15,12 +15,12 @@ services:
clickhouse: clickhouse:
image: clickhouse/clickhouse-server:24 image: clickhouse/clickhouse-server:24
environment: environment:
- CLICKHOUSE_DB=default - CLICKHOUSE_DB=${CLICKHOUSE_DB}
- CLICKHOUSE_USER=default - CLICKHOUSE_USER=${CLICKHOUSE_USER}
- CLICKHOUSE_PASSWORD=default - CLICKHOUSE_PASSWORD=${CLICKHOUSE_USER}
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=${CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT}
ports: ports:
- '8123:8123' - '${CLICKHOUSE_PORT:-8123}:8123'
ulimits: ulimits:
nofile: nofile:
soft: 262144 soft: 262144