add clickhouse

This commit is contained in:
Simon Larsen 2023-04-04 12:45:32 +01:00
parent 7f58a73ae7
commit 4f70281eec
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<clickhouse>
<path>/var/lib/clickhouse/</path>
<format_schema_path>format_schemas/</format_schema_path>
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
<user_files_path>/var/lib/clickhouse/user_files/</user_files_path>
<logger>
<level>trace</level>
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
<size>1000M</size>
<count>10</count>
<stream_compress>true</stream_compress>
</logger>
</clickhouse>

View File

@ -40,6 +40,7 @@ services:
- '9009:9009'
volumes:
- clickhouse:/var/lib/clickhouse/
- clickhouse-logs:/var/log/clickhouse-server/
- ./Clickhouse/initdb:/docker-entrypoint-initdb.d
- ./Clickhouse/config.xml:/etc/clickhouse-server/config.xml
- ./Clickhouse/users.xml:/etc/clickhouse-server/users.xml
@ -563,6 +564,7 @@ services:
volumes:
postgres:
clickhouse:
clickhouse-logs:
{{ if eq .Env.ENVIRONMENT "development" }}
# Add volumes to skip node_modules.
dashboardApiNodeModules: