Docker for MongoDB and WebUI recommended by Issue (#16)

This commit is contained in:
Sukchan Lee 2018-02-17 14:47:06 +09:00
parent f915820f3a
commit 2d72eaa24d
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,21 @@
version: '3'
services:
webui:
build: ./webui
ports:
- "3000:3000"
depends_on:
- mongodb
environment:
DB_URI: mongodb://mongodb/nextepc
mongodb:
image: mongo
ports:
- "27017:27017"
volumes:
- db-data:/data/db
volumes:
db-data: