version: "3"
services:
  test:
    build: .
    ports:
      - "3035:3035"
    container_name: fw-teams-test
    environment:
      PORT: 3035
      NODE_PATH: app/src
      NODE_ENV: test
      CT_URL: http://mymachine:9000
      LOCAL_URL: http://mymachine:3035
      MONGO_PORT_27017_TCP_ADDR: mongo
      API_VERSION: v1
      CT_REGISTER_MODE: auto
      API_GATEWAY_URL: http://mymachine:9000
      API_GATEWAY_EXTERNAL_URL: http://mymachine:9000
      API_GATEWAY_QUEUE_URL: redis://redis:6379
      API_GATEWAY_QUEUE_NAME: mail
      FASTLY_ENABLED: "false"
    command: test
    depends_on:
      - mongo
      - redis

  mongo:
    image: mongo:3.4
    command: --smallfiles
    ports:
      - "27017"

  redis:
    image: bitnami/redis
    ports:
      - "6379"
    environment:
      - ALLOW_EMPTY_PASSWORD=yes

version: "3"
services:
  test:
    build: .
    ports:
      - "3035:3035"
    container_name: fw-teams-test
    environment:
      PORT: 3035
      NODE_PATH: app/src
      NODE_ENV: test
      CT_URL: http://mymachine:9000
      LOCAL_URL: http://mymachine:3035
      CT_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Im1pY3Jvc2VydmljZSIsImNyZWF0ZWRBdCI6IjIwMTYtMDktMTQifQ.IRCIRm1nfIQTfda_Wb6Pg-341zhV8soAgzw7dd5HxxQ
      MONGO_PORT_27017_TCP_ADDR: mongo
      API_VERSION: v1
      CT_REGISTER_MODE: auto
      API_GATEWAY_URL: http://mymachine:9000
      API_GATEWAY_EXTERNAL_URL: http://mymachine:9000
      API_GATEWAY_QUEUE_URL: redis://redis:6379
      API_GATEWAY_QUEUE_NAME: mail
      FASTLY_ENABLED: "false"
    command: test
    depends_on:
      - mongo
      - redis

  mongo:
    image: mongo:3.4
    command: --smallfiles
    ports:
      - "27017"

  redis:
    image: bitnami/redis
    ports:
      - "6379"
    environment:
      - ALLOW_EMPTY_PASSWORD=yes

Fix docker compose test run
Fix docker compose test run
