version: '2' services: api: environment: - NODE_ENV=${NODE_ENV} build: . ports: - "9100:9100" depends_on: - mongodb mongodb: image: mongo