Fix noVNC WebSocket routing
This commit is contained in:
1 parent
316dc3dd3e
commit
78e84fe36b
3 files changed
+37
-6
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
describe('Dokploy noVNC deployment configuration', () => {
|
||||
it('publishes noVNC directly and leaves its public URL deployment-configured', async () => {
|
||||
const compose = await readFile(new URL('../docker-compose.yml', import.meta.url), 'utf8');
|
||||
|
||||
expect(compose).toMatch(/ports:\s*\r?\n\s*- "16080:6080"/);
|
||||
expect(compose).toMatch(/NOVNC_PUBLIC_URL=\$\{NOVNC_PUBLIC_URL\}/);
|
||||
expect(compose).not.toContain('https://red-vnc.apps.jbrunton.co.uk');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user