Revision 3c889ab1119256fb6dddcf6091bf3e5a3e264c8f authored by ThieryMichel on 14 February 2017, 09:54:49 UTC, committed by ThieryMichel on 15 February 2017, 16:58:23 UTC
1 parent 989444c
docker-compose.yml
npm:
image: node:7.4.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: ./dockerfile/dev
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
- devserver
ports:
- 3000:3000
mongo:
image: mongo:3.0.14
ports:
- 27017:27017
devserver:
image: node:7.4.0
environment:
BABEL_ENV: browser
volumes:
- .:/app
working_dir: /app
ports:
- 8000:8000
command: node ./node_modules/.bin/webpack-dev-server --hot --inline --config src/app/webpack.config.babel.js --port 8000 --host 0.0.0.0
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...