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.yml
version: "2"
services:
    npm:
        image: node:7.8.0
        volumes:
            - .:/app
        working_dir: /app
        environment:
            http_proxy: ${http_proxy}
            https_proxy: ${https_proxy}
            no_proxy: "localhost,127.0.0.1,"
        entrypoint: ['npm']

    server:
        build:
            context: ./dockerfile/dev
            args:
                http_proxy: ${http_proxy}
                https_proxy: ${https_proxy}
                no_proxy: "localhost,127.0.0.1,"
        volumes:
            - .:/app
        working_dir: /app
        environment:
            NODE_APP_INSTANCE: development
            NODE_ENV: development
            http_proxy: ${http_proxy}
            https_proxy: ${https_proxy}
            no_proxy: "localhost,127.0.0.1,"
        links:
            - mongo
        ports:
            - 3000:3000

    mongo:
        image: mongo:3.0.14
        command: "--smallfiles"
        ports:
            - 27017:27017
back to top