docker v1.0.0

main v3.0.2
liangjiajie 6 months ago
parent e62a094bc4
commit 4c9ef634e4

@ -1,8 +0,0 @@
version: '3.1'
services:
mytest:
build: .
image: mytest:v3.0.1
container_name: mytest
ports:
- "8088:8080"

@ -29,7 +29,7 @@ public class BasicController {
@GetMapping("/hello")
@ResponseBody
public String hello(@RequestParam(name = "name", defaultValue = "unknown user") String name) {
return "Hello v3.0.1 " + name;
return "Hello docker v1.0.0 " + name;
}
// http://127.0.0.1:8080/user

Loading…
Cancel
Save