forked from github.com/plausible-hosting
Add clickhouse config
This commit is contained in:
parent
f56fab0bb8
commit
a081f25c1d
13
clickhouse/plausible-config.xml
Normal file
13
clickhouse/plausible-config.xml
Normal 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>
|
8
clickhouse/users-config.xml
Normal file
8
clickhouse/users-config.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<yandex>
|
||||||
|
<profiles>
|
||||||
|
<default>
|
||||||
|
<log_queries>0</log_queries>
|
||||||
|
<log_query_threads>0</log_query_threads>
|
||||||
|
</default>
|
||||||
|
</profiles>
|
||||||
|
</yandex>
|
@ -17,6 +17,8 @@ services:
|
|||||||
image: yandex/clickhouse-server:latest
|
image: yandex/clickhouse-server:latest
|
||||||
volumes:
|
volumes:
|
||||||
- event-data:/var/lib/clickhouse
|
- 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:
|
ulimits:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 262144
|
soft: 262144
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
ADMIN_USER_EMAIL={replace-me}
|
ADMIN_USER_EMAIL={replace-me}
|
||||||
ADMIN_USER_NAME={replace-me}
|
ADMIN_USER_NAME={replace-me}
|
||||||
ADMIN_USER_PWD={replace-me}
|
ADMIN_USER_PWD={replace-me}
|
||||||
|
BASE_URL={replace-me}
|
||||||
SECRET_KEY_BASE={replace-me}
|
SECRET_KEY_BASE={replace-me}
|
||||||
|
Loading…
Reference in New Issue
Block a user