Skip to content
Snippets Groups Projects
Commit 801e07b8 authored by Matt Kirby's avatar Matt Kirby
Browse files

dockerised

parent a9eb9214
No related branches found
No related tags found
Loading
...@@ -34,6 +34,18 @@ services: ...@@ -34,6 +34,18 @@ services:
- MONGO_PORT=27017 - MONGO_PORT=27017
- MONGO_DBNAME=friends - MONGO_DBNAME=friends
comment-service:
build:
context: "./backend-services/comment-service-2"
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "9004:9000"
environment:
- MONGO_HOST=comment-mongo
- MONGO_PORT=27017
- MONGO_DBNAME=comments
frontend-service: frontend-service:
build: build:
context: "./daily-thought-frontend" context: "./daily-thought-frontend"
...@@ -69,3 +81,9 @@ services: ...@@ -69,3 +81,9 @@ services:
container_name: friend-mongo container_name: friend-mongo
ports: ports:
- "27019:27017" - "27019:27017"
comment-mongo:
image: mongo
container_name: comment-mongo
ports:
- "27020:27017"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment