Merge pull request #118 from plausible/ch-logs-volume

save CH logs into a named volume
This commit is contained in:
ruslandoga 2024-04-16 20:19:49 +08:00 committed by GitHub
commit 06f122fde5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,7 @@ services:
restart: always
volumes:
- event-data:/var/lib/clickhouse
- event-logs:/var/log/clickhouse-server
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits:
@ -44,3 +45,6 @@ volumes:
driver: local
event-data:
driver: local
event-logs:
driver: local