feat: replace browser login with imported Reddit sessions
This commit is contained in:
1 parent
2b0545afcf
commit
c483c7b8be
76 files changed
+2048
-2828
No files matched your search
@@ -1,12 +1,11 @@
|
||||
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 () => {
|
||||
describe('Dokploy session import deployment configuration', () => {
|
||||
it('does not publish or configure the retired interactive login stack', 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');
|
||||
expect(compose).not.toMatch(/16080|6080|NOVNC|VNC_PASSWORD|CHROME_CDP|DISPLAY/i);
|
||||
expect(compose).not.toMatch(/REDDIT_(?:USERNAME|PASSWORD)/);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user