Add Api endpoint and cloud build info
beautify Dockerfile
This commit is contained in:
parent
61450da84a
commit
20559e6be8
@ -1 +1,7 @@
|
||||
passwort-generator
|
||||
|
||||
#How to Deploy on Cloud run
|
||||
https://cloud.google.com/run/docs/quickstarts/build-and-deploy
|
||||
```
|
||||
gcloud builds submit --tag gcr.io/[PROJECT-ID]/pwgen
|
||||
```
|
@ -8,7 +8,12 @@ public class DefaultController {
|
||||
|
||||
@RequestMapping("/")
|
||||
public String index() {
|
||||
return "Greetings from Spring Boot, also from a Docker Container!";
|
||||
return "Greetings from Spring Boot, also from a Docker Container from Port 80!";
|
||||
}
|
||||
|
||||
@RequestMapping("/api")
|
||||
public String standard() {
|
||||
return "password";
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user