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

add mongo

parent 38976112
...@@ -21,3 +21,17 @@ services: ...@@ -21,3 +21,17 @@ services:
- npm - npm
- run - run
- api - 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": { "/api": {
"target": "http://localhost:3000", "target": "http://api:3000",
"secure": false "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