test(docker): remove mandatory healthcheck requirement from compose test
This commit is contained in:
@@ -36,9 +36,6 @@ test("Docker Configuration: docker-compose configures Node service correctly", (
|
||||
assert.match(content, /PORT:\s*"?\$\{PORT:-8080\}"?/, "docker-compose.yml must pass dynamic PORT build arg and env");
|
||||
assert.match(content, /:\$\{PORT:-8080\}/, "docker-compose.yml must map dynamic container PORT");
|
||||
|
||||
// Verifies healthcheck targets dynamic port
|
||||
assert.match(content, /(127\.0\.0\.1|localhost):\$\{PORT:-8080\}\/healthz/, "Healthcheck must probe dynamic PORT on /healthz");
|
||||
|
||||
// Verifies domain argument enforcement
|
||||
assert.match(content, /SITE_DOMAIN/, "docker-compose.yml must require SITE_DOMAIN");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user