Skip to content

jamesward/springboot-kotlin-reactive-demo

Repository files navigation

Spring Boot Kotlin Reactive Demo

Run on Google Cloud

Run Locally (dev mode):

  1. In a terminal: ./gradlew -t classes
  2. In another terminal: ./gradlew bootRun
  3. Open: localhost:8080

Create Docker Image for GCP:

export PROJECT_ID=YOUR_GCP_PROJECT_ID
./gradlew bootBuildImage --imageName=gcr.io/$PROJECT_ID/springboot-kotlin-reactive-demo
docker push gcr.io/$PROJECT_ID/springboot-kotlin-reactive-demo

Run Docker Image Locally:

docker run -p8080:8080 gcr.io/$PROJECT_ID/springboot-kotlin-reactive-demo

Run on Google Cloud Run:

gcloud run deploy \
  --image=gcr.io/$PROJECT_ID/springboot-kotlin-reactive-demo \
  --memory=1Gi \
  --cpu=2. \
  --platform=managed \
  --allow-unauthenticated \
  --project=$PROJECT_ID \
  --region=us-central1 \
  springboot-kotlin-reactive-demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages