fix(docker): harden integrated service exposure

Squash merge PR #1291 into dev.
This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-05-19 07:45:20 -04:00
1 parent 79172c86eb
commit 857dac8751
8 files changed
+142 -15

No files matched your search

@@ -53,6 +53,7 @@ describe('docker executor', () => {
expect(calls[0].options?.env?.CCS_NPM_VERSION).toBe('7.59.0');
expect(calls[0].options?.env?.CCS_DASHBOARD_PORT).toBe('4000');
expect(calls[0].options?.env?.CCS_CLIPROXY_PORT).toBe('9317');
expect(calls[0].options?.env?.CCS_DOCKER_BIND_HOST).toBe('127.0.0.1');
expect(calls[0].options?.timeoutMs).toBe(300_000);
});
@@ -89,6 +90,7 @@ describe('docker executor', () => {
expect(calls[2].args[1]).toContain("export CCS_NPM_VERSION='7.59.0'");
expect(calls[2].args[1]).toContain("export CCS_DASHBOARD_PORT='3000'");
expect(calls[2].args[1]).toContain("export CCS_CLIPROXY_PORT='8317'");
expect(calls[2].args[1]).toContain("export CCS_DOCKER_BIND_HOST='127.0.0.1'");
expect(calls[2].args[1]).toContain('docker-compose version >/dev/null 2>&1');
expect(calls[2].options?.timeoutMs).toBe(300_000);
});