I’m practicing with Docker but I have this message in my terminal. Someone have any solution?
my docker-compose
mongo:
image: mongo
ports:
- "27017:27017"
restart: always
web:
build: .
ports:
- "3000:3000"
links:
- mongo
command: node index.js
Terminal:
(root) Additional property mongo is not allowed
2
Answers
Thanks, my problem was that web had the same level of services.
Thanks for all.
Missing the
services
keyword.see the official doc