This is my docker-compose.yaml
version: '2'
services:
databases:
image: mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=demodb
web:
image: nginx
Error: The Compose file ./docker-compose.yml' is invalid because:
Additional properties are not allowed('web' was unexpected)
And on the bottom part it says that this is maybe because of the docker-compose version, but on docker website it says that docker on windows come with docker-compose and don't need to be installed separately.