version: '3'
services:
  db:
    image: mongo:latest
    environment:
      - MONGO_DATA_DIR=/data/db
      - MONGO_LOG_DIR=/dev/null
      - MONGODB_DBNAME=eae
    command: mongod --smallfiles --logpath=/dev/null # --quiet

  swift:
    image: bouncestorage/swift-aio
    command: /bin/bash /bin/swift
    ports:
      - 8080:8080

  tests:
    build:
        context: .
        dockerfile: ./test/Dockerfile
    volumes:
      - ./config/eae.compute.test.config.js:/usr/app/config/eae.compute.config.js
    depends_on:
      - db
      - swift
    ports:
        - 80:80
    command: npm test

version: '3'
services:
  db:
    image: mongo:latest
    environment:
      - MONGO_DATA_DIR=/data/db
      - MONGO_LOG_DIR=/dev/null
      - MONGODB_DBNAME=eae
    command: mongod --smallfiles --logpath=/dev/null # --quiet

  swift:
    image: bouncestorage/swift-aio
    command: /bin/bash /bin/swift
    ports:
      - 8080:8080

  tests:
    build:
        context: .
        dockerfile: ./Dockerfile
    volumes:
      - ../config/eae.compute.test.config.js:/usr/app/config/eae.compute.config.js
    depends_on:
      - db
      - swift
    ports:
        - 80:80
    command: npm test

Test docker compose fix relavtive paths
Test docker compose fix relavtive paths
