Files
lunafreya-lva/docker-compose.raspberrypi.yml
T
Trez.One 56382a92b7 Squashed 'compose/' content from commit f70202c
git-subtree-dir: compose
git-subtree-split: f70202c7f66a6d0c39d678bb3258c9b4e410d583
2025-09-01 08:43:15 -04:00

82 lines
1.5 KiB
YAML

---
# Raspberry Pi specific overrides with optimized resource limits for ARM hardware
x-pi-resource-limits: &pi-resource-limits
deploy:
resources:
limits:
memory: 256M
reservations:
memory: 64M
x-pi-core-resource-limits: &pi-core-resource-limits
deploy:
resources:
limits:
memory: 512M
cpus: "0.8"
reservations:
memory: 128M
cpus: "0.2"
x-pi-light-resource-limits: &pi-light-resource-limits
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 32M
services:
ovos_messagebus:
<<: *pi-resource-limits
healthcheck:
disable: true
ovos_phal:
<<: *pi-resource-limits
healthcheck:
disable: true
group_add:
- "${GPIO_GID}"
- "${I2C_GID}"
- "${SPI_GID}"
ovos_phal_admin:
<<: *pi-light-resource-limits
healthcheck:
disable: true
group_add:
- "${GPIO_GID}"
- "${I2C_GID}"
- "${SPI_GID}"
ovos_listener:
<<: *pi-resource-limits
healthcheck:
disable: true
ovos_plugin_ggwave:
<<: *pi-resource-limits
healthcheck:
disable: true
ovos_audio:
<<: *pi-resource-limits
healthcheck:
disable: true
ovos_core:
<<: *pi-core-resource-limits
healthcheck:
disable: true
group_add:
- "${GPIO_GID}"
- "${I2C_GID}"
- "${SPI_GID}"
ovos_cli:
<<: *pi-light-resource-limits
healthcheck:
disable: true