doc | ||
gradle/wrapper | ||
src | ||
.gitignore | ||
build.gradle | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
micronaut-cli.yml | ||
README.md | ||
settings.gradle |
Hello Micronaut
Test "hello world" web application (written in the micronaut framework) that displays some information about the architecture it runs on, and allow users to enter some data, that will not persist or be shared across multiple instances.
Container
Build container
docker build -t hellomicronaut .
Run container
docker run --name hello1 -p 8080:8080 hellomicronaut
Development
Requires Java JDK version 11+.
Build
./gradlew build
Run
./gradlew run -t
Test with browser
Connect to the container or localhost on the specified port: