chore: playwright debug false

This commit is contained in:
karishmas6
2024-11-03 01:08:29 +05:30
parent 06e2bfcb42
commit 4e8fea1ecc

View File

@@ -48,11 +48,15 @@ services:
environment: environment:
# to ensure Playwright works in Docker # to ensure Playwright works in Docker
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
DISPLAY: :0 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 0
DEBUG: pw:api # DEBUG: pw:api
PWDEBUG: 1 # Enables debugging # PWDEBUG: 1 # Enables debugging
CHROMIUM_FLAGS: '--disable-gpu --no-sandbox --headless=new'
volumes: 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 # Increase shared memory size for Chromium
shm_size: '2gb' shm_size: '2gb'
depends_on: depends_on: