Revision e7fc81f393c1d84e26217276fbf6606bce324955 authored by François Parmentier on 09 May 2017, 15:58:44 UTC, committed by François Parmentier on 09 May 2017, 15:58:44 UTC
1 parent 06b249d
Raw File
docker-compose.e2e-debug.yml
version: "2"

services:
    hub:
        image: selenium/hub:3.4.0

    chromedebug:
        image: selenium/node-chrome-debug:3.4.0
        volumes:
            - .:/app
        working_dir: /app
        links:
            - hub
            - api
        environment:
            HUB_PORT_4444_TCP_ADDR: hub
            HUB_PORT_4444_TCP_PORT: 4444
        ports:
            - 5900:5900

    api:
        image: node:7.8.0
        volumes:
            - .:/app
        working_dir: /app
        environment:
            NODE_APP_INSTANCE: test
            NODE_ENV: test
            no_proxy: "localhost,127.0.0.1,"
        links:
            - mongo
        depends_on:
            - mongo
        command: node --harmony-async-await --require babel-register ./src/api

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

back to top