Hi !
At first sight, it seems that your docker-compose is not able to run the version 3.9 of docker-compose files. I’m not sure we have specific things for the 3.9 in this file. So, I guess there are 2 possibilities:
- update docker-compose on another channel to have a more recent version if possible
- try to change the version in the file to
version: '3.3'and see how it works (normally docker-compose will block if it finds things in the file it cannot proceed)
While writing this answer I took a look on Internet and to upgrade your docker-compose on Raspberry seems not that a trivial task apparently. I saw on a Raspberry forum somebody who installed a more recent version using pip otherwise it’s maybe not possible with the standard package manager. I saw this thread and didn’t tested, so before doing that if you wish, make backups just in case of: Docker-compose version issue - Raspberry Pi Forums
But, first, a very easy thing to try could be to change the version in the yml file.