Docker Compose is often updated to add new features, improve performance, and fix bugs.

Try to remove the version number line from the top of the docker-compose yaml file and you should see the warning message disappear.