version: "3" services: db: build: context: backend/db env_file: - .prod.env server: build: context: backend/server ports: - 5000:80 env_file: - .prod.env environment: MONGODB__Host: db MONGODB__Port: 27017 MONGODB__Database: todo depends_on: - db client: build: context: client ports: - 3000:3000