Sign inSign up

binoykalathiparambil/springboot-mongo

By binoykalathiparambil

•Updated about 7 years ago

Image
0

8.8K

binoykalathiparambil/springboot-mongo repository overview

⁠docker-compose.yml

version: "2"
services:
web:
container_name: web
image: binoykalathiparambil/angularclientnginx
restart: always
ports:
- "80:80"
links:
- app
app:
container_name: app
image: binoykalathiparambil/springboot-mongo
restart: always
ports:
- "8080:8080"
links:
- mongo
mongo:
container_name: mongo
image: mongo
volumes:
- ./data:/data/db
ports:
- "27017:27017"



curl --header "Content-Type: application/json" \
--request POST \
--data '{"id":112, "uName": "Binoy", "password":"password", "token":"tesfdsfdsfsdf", "active": true }' \
http://localhost:8080/addUser

Tag summary

Content type

Image

Digest

Size

90.7 MB

Last updated

about 7 years ago

docker pull binoykalathiparambil/springboot-mongo