Error building after configuring docker-compose.yml

Hello, I’m having this error while trying to build docker-compose up -d

Service networks has neither an image nor a build context specified. At least one must be provided.

Don´t know what to do can someone help?


You have an indentation issue with your networks section, check it.