2016-04-21 12:16:19 -07:00
|
|
|
|
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: mongo:3.2
|
2016-05-05 12:12:40 -07:00
|
|
|
ports:
|
|
|
|
- "27017:27017"
|
|
|
|
volumes:
|
|
|
|
- mongo-data-wt:/data/db
|
2016-04-21 12:16:19 -07:00
|
|
|
web:
|
2016-04-25 04:22:54 -07:00
|
|
|
build: .
|
2016-04-21 12:16:19 -07:00
|
|
|
volumes:
|
|
|
|
- .:/usr/src/app
|
2016-05-05 03:00:24 -07:00
|
|
|
command: node server.js
|
2016-04-21 12:16:19 -07:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
- "35729:35729"
|
2016-04-24 12:29:11 -07:00
|
|
|
links:
|
|
|
|
- db
|
2016-04-21 12:16:19 -07:00
|
|
|
volumes:
|
|
|
|
mongo-data-wt:
|
|
|
|
driver: local
|