p5.js-web-editor/docker-compose-development.yml
Cassie Tarakajian 8495a59e36
Development documentation (#705)
* delete unused files, move webpack configs to their own directory

* start of improved developer documentation, moving everything to developer_docs/ directory

* documentation updates
2018-09-26 16:14:06 -04:00

22 lines
406 B
YAML

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