feat(platform-services): Add ClickHouse platform service support and improve related healthchecks and tooling

This commit is contained in:
2025-11-26 22:05:25 +00:00
parent 0247ab45c7
commit 633cbe696e
4 changed files with 16 additions and 7 deletions

View File

@@ -166,10 +166,10 @@ export class ClickHouseProvider extends BasePlatformServiceProvider {
// Use docker exec to run health check inside the container
// This avoids network issues with overlay networks
// Note: ClickHouse image has wget but not curl
// Note: ClickHouse image has wget but not curl - use full path for reliability
const result = await this.oneboxRef.docker.execInContainer(
platformService.containerId,
['wget', '-q', '-O', '-', 'http://localhost:8123/ping']
['/usr/bin/wget', '-q', '-O', '-', 'http://localhost:8123/ping']
);
if (result.exitCode === 0) {