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_DB=default
CLICKHOUSE_PORT=8123
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1

View File

@ -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