paulbsd-salt/states/clickhouse/templates/settings.xml.j2

17 lines
660 B
Django/Jinja

{%- from "clickhouse/map.jinja" import clickhouse with context %}
<clickhouse>
<listen_host>::</listen_host>
<default_replica_name>{replica}</default_replica_name>
<default_replica_path>/clickhouse/{cluster}/tables/{uuid}/{database}/{table}-{shard}</default_replica_path>
<logger>
<level>fatal</level>
<count>5</count>
<size>100M</size>
</logger>
<max_server_memory_usage_to_ram_ratio>0.3</max_server_memory_usage_to_ram_ratio>
<tcp_port_secure>9440</tcp_port_secure>
<https_port>8443</https_port>
<interserver_http_port remove="true"></interserver_http_port>
<interserver_https_port>9010</interserver_https_port>
</clickhouse>