Add dockerization and example compose file

This commit is contained in:
Schemen
2018-08-22 01:44:48 -07:00
committed by Rae2che5
parent f6b058f3c9
commit d35db1f702
4 changed files with 35 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
version: '2'
services:
mongodb:
image: mongo:latest
volumes:
- /your/data/location:/data/db
homebrewery:
build:
context: .
dockerfile: Dockerfile
image: homebrewery
environment:
MONGODB_URI: mongodb://mongodb/homebrewery
ports:
- "8000:8000"