mirror of
https://github.com/plausible/hosting.git
synced 2024-10-31 15:25:57 -05:00
Merge pull request #118 from plausible/ch-logs-volume
save CH logs into a named volume
This commit is contained in:
commit
06f122fde5
@ -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