This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -63,6 +63,14 @@ describe('Docker Deployment', () => {
expect(content).not.toContain('${MINIO_ROOT_PASSWORD:-');
});
it('production compose requires the Clerk webhook signing secret', () => {
const content = fs.readFileSync(path.join(ROOT, 'docker-compose.production.yml'), 'utf-8');
expect(content).toContain(
'CLERK_WEBHOOK_SIGNING_SECRET=${CLERK_WEBHOOK_SIGNING_SECRET:?set CLERK_WEBHOOK_SIGNING_SECRET}',
);
expect(content).not.toContain('CLERK_WEBHOOK_SIGNING_SECRET=${CLERK_WEBHOOK_SIGNING_SECRET:-');
});
it('.dockerignore excludes sensitive and unnecessary files', () => {
const content = fs.readFileSync(path.join(ROOT, '.dockerignore'), 'utf-8');
expect(content).toContain('node_modules');