docker-compose up --force-recreate- In Eclipse:
- Go to Run -> Run Configurations -> Java Application -> New
- Choose
org.springframework.boot.devtools.RemoteSpringApplicationas themain class - Choose
todo-appas the project - Set http://localhost:80 to program arguments
docker-compose up --force-recreate -ddocker-compose startdocker-compose stopdocker-compose down --rmi all
curl --request GET --url http://localhost/todocurl --request POST \ --url http://localhost/todo \ --header 'content-type: application/json' \ --data '{ "title" : "Title", "description" : "Description" }'curl --request PUT \ --url http://localhost/todo/1 \ --header 'content-type: application/json' \ --data '{ "title": "Modified Title", "description": "Modified Description" }'curl --request DELETE \ --url http://localhost/todo/1