Last active
October 2, 2016 07:58
-
-
Save aherve/1e236bd99fa3ebd12a7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello: | |
links: | |
- "db:db" | |
build: . | |
volumes: | |
- .:/app | |
- /app/node_modules | |
command: node ./src/hello.js | |
environment: | |
- NODE_ENV=development | |
autotest: | |
links: | |
- "db:db" | |
build: . | |
volumes: | |
- ./src:/app/src | |
- /app/node_modules | |
command: mocha ./src/hello.spec.js --watch | |
environment: | |
- NODE_ENV=test | |
test: | |
links: | |
- "db:db" | |
build: . | |
volumes: | |
- ./src:/app/src | |
- /app/node_modules | |
command: mocha ./src/hello.spec.js | |
environment: | |
- NODE_ENV=test | |
db: | |
image: mongo:3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment