version: '2'
services:
  nodeserver:
    build:
      context: .
    ports:
    - "8888:3000"
    links:
    - mongo
  mongo:
    image: mongo
    ports:
    - "27017:27017"
  nginx:
    image: nginx
    ports:
    - "8881:80"
  osserver:
    image: ossserver
    ports:
    - "9090:9090"

version: '2'
services:
  nodeserver:
    build:
      context: .
    ports:
    - "8888:3000"
    environment:
    - DATABASE_ADDR=mongo
    links:
    - mongo
    - ossserver
  mongo:
    image: mongo
  nginx:
    image: nginx
    ports:
    - "8887:80"
  ossserver:
    image: ossserver

Remove unused ports. Change container links. Add Node.js mongo database configuration to compose file.
Remove unused ports. Change container links. Add Node.js mongo database configuration to compose file.
