From 4e8fea1ecc5302130890fe42d29063b0099b3354 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 3 Nov 2024 01:08:29 +0530 Subject: [PATCH] chore: playwright debug false --- docker-compose.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d59b6433..50983684 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,11 +48,15 @@ services: environment: # to ensure Playwright works in Docker PLAYWRIGHT_BROWSERS_PATH: /ms-playwright - DISPLAY: :0 - DEBUG: pw:api - PWDEBUG: 1 # Enables debugging + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 0 + # DEBUG: pw:api + # PWDEBUG: 1 # Enables debugging + CHROMIUM_FLAGS: '--disable-gpu --no-sandbox --headless=new' volumes: - - /tmp/.X11-unix:/tmp/.X11-unix + # - /tmp/.X11-unix:/tmp/.X11-unix + - /var/run/dbus:/var/run/dbus # Add this for D-Bus support + security_opt: + - seccomp=unconfined # This might help with browser sandbox issues # Increase shared memory size for Chromium shm_size: '2gb' depends_on: