Files
meshexplorer/ingest/clickhouse/Dockerfile
T
Alex Vanderpot 7785158934 clickhouse: cap system log growth (TTL + disable profiler)
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>
2026-05-29 01:46:04 -04:00

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