Skip to content

kostakoff/spring-application-template

Repository files navigation

spring-application-template

Manual build

Build command

mvn clean package

Test command

mvm verify

Run in docker compose

Deploy application container env in docker use compose

docker-compose build
docker-compose up

Destroy application env

docker-compose down

Local application url: http://localhost:8080/swagger-ui/index.html

GitHub pipeline description

Pipeline

Github build

Deploy to kubernetes

This deploy will pull follow docker images:

  • nginx form docker-hub: docker.io/kostakoff/rocky-base-images:8-nginx
  • application from github: ghcr.io/kostakoff/spring-application-template:latest

Deployment:

  • go to deployment folder
cd ./Deployment
  • render helm chart
helm template my-application ./my-application -f ./my-application/values-secrets.yaml
  • install helm chart
helm install my-application ./my-application -f ./my-application/values-secrets.yaml
  • update deploy
helm upgrade --install my-application ./my-application -f ./my-application/values-secrets.yaml
  • remove helm chart
helm uninstall my-application

Link for microk8s: https://application.k8s.localhost/swagger-ui/index.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages