take another shot at fixing OOM errors in chromium

This commit is contained in:
Micha Albert 2024-09-23 07:10:30 -04:00
parent 31a1a3bb34
commit 33e2e7eeb1
2 changed files with 4 additions and 12 deletions

View file

@ -27,6 +27,7 @@ services:
reservations:
memory: 8192M
network_mode: "host"
shm_size: '8gb'
restart: unless-stopped
env_file: .stream.env
depends_on:
@ -48,6 +49,8 @@ services:
dockerfile: Dockerfile
volumes:
- ./backend/db:/usr/src/app/db
mediamtx:
condition: service_started
caddy:
image: docker.io/caddy:alpine
restart: unless-stopped
@ -61,17 +64,6 @@ services:
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config=
# active-stream-proxy:
# build:
# context: ./active-stream-proxy
# dockerfile: Dockerfile
# depends_on:
# web-frontend:
# condition: service_completed_successfully
# mediamtx:
# condition: service_started
# backend:
# condition: service_started
volumes:
mediamtx_recordings:
tiling_frontend_build:

View file

@ -6,7 +6,7 @@ sleep 2
pacmd load-module module-null-sink sink_name=VirtSink
pacmd update-sink-proplist VirtSink device.description=VirtSink
export CHROMIUM_FLAGS="--disable-software-rasterizer --disable-dev-shm-usage"
export CHROMIUM_FLAGS="--disable-software-rasterizer"
export LIBGL_ALWAYS_INDIRECT=1