diff --git a/backend/sandbox/docker/docker-compose.yml b/backend/sandbox/docker/docker-compose.yml index 95fe3ac9..dbb41a4e 100644 --- a/backend/sandbox/docker/docker-compose.yml +++ b/backend/sandbox/docker/docker-compose.yml @@ -21,9 +21,9 @@ services: - CHROME_CDP=${CHROME_CDP:-http://localhost:9222} - DISPLAY=:99 - PLAYWRIGHT_BROWSERS_PATH=/ms-playwright - - RESOLUTION=${RESOLUTION:-1920x1080x24} - - RESOLUTION_WIDTH=${RESOLUTION_WIDTH:-1920} - - RESOLUTION_HEIGHT=${RESOLUTION_HEIGHT:-1080} + - RESOLUTION=${RESOLUTION:-1024x768x24} + - RESOLUTION_WIDTH=${RESOLUTION_WIDTH:-1024} + - RESOLUTION_HEIGHT=${RESOLUTION_HEIGHT:-768} - VNC_PASSWORD=${VNC_PASSWORD:-vncpassword} - CHROME_DEBUGGING_PORT=9222 - CHROME_DEBUGGING_HOST=localhost diff --git a/backend/sandbox/sandbox.py b/backend/sandbox/sandbox.py index 6bc08fbe..0dfa9dac 100644 --- a/backend/sandbox/sandbox.py +++ b/backend/sandbox/sandbox.py @@ -100,9 +100,9 @@ def create_sandbox(password: str): public=True, env_vars={ "CHROME_PERSISTENT_SESSION": "true", - "RESOLUTION": "1280x720x24", - "RESOLUTION_WIDTH": "1280", - "RESOLUTION_HEIGHT": "720", + "RESOLUTION": "1024x768x24", + "RESOLUTION_WIDTH": "1024", + "RESOLUTION_HEIGHT": "768", "VNC_PASSWORD": password, "ANONYMIZED_TELEMETRY": "false", "CHROME_PATH": "",