jibri,compose: avoid mounting /dev/shm/

Allocate it with compose.
This commit is contained in:
Saúl Ibarra Corretgé 2022-06-13 23:37:00 +02:00
parent fbb8a2dbfe
commit 7ed5063007
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.5'
services:
# Frontend

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.5'
services:
jibri:
@ -6,7 +6,7 @@ services:
restart: ${RESTART_POLICY:-unless-stopped}
volumes:
- ${CONFIG}/jibri:/config:Z
- /dev/shm:/dev/shm
shm_size: '2gb'
cap_add:
- SYS_ADMIN
environment: