Skip to content
Snippets Groups Projects

Create endpoint for user-registration

1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
+ 23
1
@@ -10,9 +10,31 @@ services:
environment:
- MONGO_URI=mongodb://feed-mongo:27017/
mongo:
user-service:
build:
context: './backend-services/user-service'
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "9002:9000"
environment:
- MONGO_URI=mongodb://user-mongo:27017/userdb
feed-mongo:
image: mongo
container_name: feed-mongo
ports:
- "27017:27017"
user-mongo:
image: mongo
container_name: user-mongo
volumes:
- "./mongo/db:/data/db"
ports:
- "27018:27017"
\ No newline at end of file
Loading