p5.js-web-editor/docker-compose-development.yml

23 lines
406 B
YAML
Raw Normal View History

version: '3.4'
2018-05-18 01:43:06 +00:00
services:
mongo:
image: mongo:3.6
volumes:
- dbdata:/data/db
app:
2018-05-18 01:43:06 +00:00
build:
context: ./
dockerfile: Dockerfile
target: development
2018-05-18 01:43:06 +00:00
environment:
- MONGO_URL=mongodb://mongo:27017/p5js-web-editor
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
2018-05-18 01:43:06 +00:00
ports:
- '8000:8000'
depends_on:
- mongo
volumes:
dbdata: