mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 03:23:40 -05:00
take another shot at fixing OOM errors in chromium
This commit is contained in:
parent
31a1a3bb34
commit
33e2e7eeb1
2 changed files with 4 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue