import test from 'node:test'; import assert from 'node:assert/strict'; import fs from 'node:fs'; test('docker compose config exposes the expected local services and safe defaults', () => { const config = fs.readFileSync('/tmp/mastermind-mvp/docker-compose.yml', 'utf8'); assert.match(config, /db:/); assert.match(config, /web:/); assert.match(config, /worker:/); assert.match(config, /BOOTSTRAP_OWNER_EMAIL: \$\{BOOTSTRAP_OWNER_EMAIL:-owner@local\}/); assert.match(config, /BOOTSTRAP_OWNER_PASSWORD: \$\{BOOTSTRAP_OWNER_PASSWORD:-owner\}/); assert.match(config, /\.\/README\.md:\/app\/README\.md:ro/); });