Erro ao executar o comando do docker compose:
ERROR: The Compose file './docker-compose.yml' is invalid because: services.alurabooks.ports contains an invalid type, it should be an array
Arquivo de configuração .yml
version: "3.9"
services:
mongodb:
image: mongo:4.4.6
container_name: meu-mongo
networks:
- compose-bridge
alurabooks:
image: aluradocker/alura-books:1.0
container_name: alurabooks
networks:
- compose-bridge
ports:
- 3000:3000
networks:
compose-bridge:
driver: bridge