Docker-compose: Bind mounts are not allowed

I’m trying to deploy the RPI Monitoring to Balena Cloud with docker-compose:

rpi-monitor:
image: michaelmiklis/rpi-monitor:latest
privileged: true
ports:
- “8888:8888”
devices:
- “/dev/vchiq”
- “/dev/vcs”
volumes:
- “/boot:/boot”
- “/sys:/dockerhost/sys:ro”
- “/etc:/dockerhost/etc:ro”
- “/proc:/dockerhost/proc:ro”
- “/usr/lib:/dockerhost/usr/lib:ro”

but I receive this error: "Bind mounts are not allowed "

Could you help me , please ?

Have a look at the limitations of multi-container applications on balenaCloud https://www.balena.io/docs/learn/develop/multicontainer/#docker-composeyml-file

could you suggest a way to monitoring the performance of the device ?

maybe look through the suggestions in this thread for possible ways to achieve what you want