mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 04:13:41 -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:
|
reservations:
|
||||||
memory: 8192M
|
memory: 8192M
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
|
shm_size: '8gb'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .stream.env
|
env_file: .stream.env
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -48,6 +49,8 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/db:/usr/src/app/db
|
- ./backend/db:/usr/src/app/db
|
||||||
|
mediamtx:
|
||||||
|
condition: service_started
|
||||||
caddy:
|
caddy:
|
||||||
image: docker.io/caddy:alpine
|
image: docker.io/caddy:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
@ -61,17 +64,6 @@ services:
|
||||||
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
|
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_config:/config=
|
- 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:
|
volumes:
|
||||||
mediamtx_recordings:
|
mediamtx_recordings:
|
||||||
tiling_frontend_build:
|
tiling_frontend_build:
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ sleep 2
|
||||||
pacmd load-module module-null-sink sink_name=VirtSink
|
pacmd load-module module-null-sink sink_name=VirtSink
|
||||||
pacmd update-sink-proplist VirtSink device.description=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
|
export LIBGL_ALWAYS_INDIRECT=1
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue