mirror of
https://github.com/ajvpot/meshexplorer.git
synced 2026-06-27 05:10:56 +02:00
7785158934
ClickHouse's internal diagnostics grew unbounded (text_log at Trace level and the 1s query profiler -> trace_log accumulated ~160G over months). Add short TTLs to all system *_log tables, cap text_log at warning level, and disable the query profiler in both profiles so trace_log stays empty. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11 lines
410 B
Docker
11 lines
410 B
Docker
FROM clickhouse/clickhouse-server:25.6.2.5
|
|
|
|
# Read-only user used by the web app / discord bot
|
|
COPY users.xml /etc/clickhouse-server/users.d/readonly_user.xml
|
|
|
|
# Access control configuration
|
|
COPY config.xml /etc/clickhouse-server/config.d/access_control.xml
|
|
|
|
# System log retention (TTLs + tame text_log) so diagnostics don't grow unbounded
|
|
COPY system-logs.xml /etc/clickhouse-server/config.d/system-logs.xml
|