Commit 820d7b55 authored by Philipp Rummelsberger's avatar Philipp Rummelsberger

add mongo

parent 38976112
......@@ -21,3 +21,17 @@ services:
- npm
- run
- api
depends_on:
- db
db:
container_name: mongo
image: mongo
environment:
- MONGO_INITDB_DATABASE=development
ports:
- 27017:27017
volumes:
- mongodbdata:/data/db
volumes:
mongodbdata:
{
"/api": {
"target": "http://localhost:3000",
"target": "http://api:3000",
"secure": false
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment