Version of docker-compose-yaml is unsupported

remove the version: "3.9" entry from your docker compose file it will run ok. version entry is depricated in newer docker compose.