mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 20:13:17 -06:00
save CH logs into a named volume
This commit is contained in:
parent
4ebc0f6631
commit
3ea11aad26
@ -19,6 +19,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- event-data:/var/lib/clickhouse
|
- 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-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
||||||
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
||||||
ulimits:
|
ulimits:
|
||||||
@ -44,3 +45,6 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
event-data:
|
event-data:
|
||||||
driver: local
|
driver: local
|
||||||
|
event-logs:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user