I am trying to create node and mongo service and run them in the same network using the docker compose file but it showing me this error "yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot start any token" when i run docker-compose build command
can anyone please help me.
this is my docker-compose.yml file
version: '3'
services:
node:
build:
context: .
dockerfile: node.dockerfile
ports:
- "3000:3000"
networks:
- nodeapp-network
mongodb:
image: mongo
networks:
- nodeapp-network
networks:
nodeapp-network:
driver: bridge