Skip to content

Commit

Permalink
Address memory related Docker/Chrome issues
Browse files Browse the repository at this point in the history
  • Loading branch information
montehurd committed May 11, 2024
1 parent a80a01e commit b4f5ba0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/configCommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module.exports = {
headless: 'new',
args: [
'--no-sandbox',
'--single-process'
'--single-process',
'--disable-dev-shm-usage'
]
},
debug: false,
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ services:
- ./config:/pixel/config
- ./src:/pixel/src
- ./report:/pixel/report
shm_size: 1gb
cap_add:
- SYS_ADMIN
a11y-regression:
init: true
network_mode: host
Expand All @@ -90,6 +93,9 @@ services:
- ./config:/pixel/config
- ./src:/pixel/src
- ./report:/pixel/report
shm_size: 1gb
cap_add:
- SYS_ADMIN
png-optimizer:
build:
context: .
Expand Down

0 comments on commit b4f5ba0

Please sign in to comment.