Skip to content

ak-git/Quarkus

Repository files navigation

Simple Quarkus "Hello World" Application with Gradle and Docker support

Inspired by Quarkus getting-started example

Running the application in dev mode

You can run your application in dev mode that enables live coding using

  1. Quarkus CLI:
quarkus dev

2: Gradle:

./gradlew --console=plain quarkusDev

You can run your application in prod mode that enables live coding using:

./gradlew --console=plain quarkusRun

Once started, you can request the provided endpoint:

curl -w "\n" http://localhost:8080/hello
./gradlew version
./gradlew version | grep Version | awk '{ print $2 }'

Update version and add git tag

git tag 2025.09

Run docker image

docker run --rm a002k/quarkus
docker run -d --name quarkus --rm a002k/quarkus
  • -i Keep STDIN open even if not attached
  • --rm Remove container after stop
  • -d Detach mode, Run container in background and print container ID

and follow -f logs

docker logs -f quarkus

to stop

docker stop quarkus

Run docker image as docker-compose

docker compose run -d --name quarkus --rm quarkus

and follow -f logs

docker compose logs -f quarkus

to stop

docker compose down

Github Action Badge

Coverage Maintainability Rating Reliability Rating Security Rating

Bugs Code Smells Duplicated Lines (%) Vulnerabilities

About

Simple Quarkus Application with Gradle and Docker support

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages