2018-06-07 22:09:51 +02:00
|
|
|
version: '3.4'
|
2018-05-18 03:43:06 +02:00
|
|
|
services:
|
|
|
|
mongo:
|
2018-09-26 22:14:06 +02:00
|
|
|
image: mongo:3.6
|
2018-06-07 22:09:51 +02:00
|
|
|
volumes:
|
|
|
|
- dbdata:/data/db
|
2018-06-20 19:01:11 +02:00
|
|
|
app:
|
2018-05-18 03:43:06 +02:00
|
|
|
build:
|
2018-06-07 22:09:51 +02:00
|
|
|
context: ./
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
target: development
|
2018-05-18 03:43:06 +02:00
|
|
|
environment:
|
|
|
|
- MONGO_URL=mongodb://mongo:27017/p5js-web-editor
|
|
|
|
volumes:
|
2018-06-07 22:09:51 +02:00
|
|
|
- .:/usr/src/app
|
|
|
|
- /usr/src/app/node_modules
|
2018-05-18 03:43:06 +02:00
|
|
|
ports:
|
|
|
|
- '8000:8000'
|
|
|
|
depends_on:
|
|
|
|
- mongo
|
2018-06-07 22:09:51 +02:00
|
|
|
volumes:
|
|
|
|
dbdata:
|