Add clickhouse config

This commit is contained in:
Uku Taht 2020-10-02 10:27:55 +03:00
parent f56fab0bb8
commit a081f25c1d
4 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<yandex>
<logger>
<level>warning</level>
<console>true</console>
</logger>
<text_log>
<level>warning</level>
</text_log>
<metric_log>
<level>warning</level>
</metric_log>
<trace_log></trace_log>
</yandex>

View File

@ -0,0 +1,8 @@
<yandex>
<profiles>
<default>
<log_queries>0</log_queries>
<log_query_threads>0</log_query_threads>
</default>
</profiles>
</yandex>

View File

@ -17,6 +17,8 @@ services:
image: yandex/clickhouse-server:latest
volumes:
- event-data:/var/lib/clickhouse
- ./clickhouse/plausible-config.xml:/etc/clickhouse-server/config.d/plausible-config.xml
- ./clickhouse/users-config.xml:/etc/clickhouse-server/users.xml
ulimits:
nofile:
soft: 262144

View File

@ -1,4 +1,5 @@
ADMIN_USER_EMAIL={replace-me}
ADMIN_USER_NAME={replace-me}
ADMIN_USER_PWD={replace-me}
BASE_URL={replace-me}
SECRET_KEY_BASE={replace-me}