./gradlew run -t --args="-micronaut.application.name=Micronaut"
./gradlew version
./gradlew version | grep Version | awk '{ print $2 }'
git tag 2024.11.1
./gradlew dependencyUpdates
./gradlew buildHealth
docker run -i --rm a002k/micronaut
docker run -d --name micronaut --rm a002k/micronaut
-i
Keep STDIN open even if not attached--rm
Remove container after stop-e APP_NAME=Micronaut
Set environment variables--env-file ./.env
set file name with environment variables-d
Detach mode, Run container in background and print container ID
and follow -f
logs
docker logs -f micronaut
to stop
docker stop micronaut
docker compose run -d --name micronaut --rm micronaut
and follow -f
logs
docker compose logs -f micronaut
to stop
docker compose down
Check config
docker compose config
Use ./.env
file or overwrite as
APP_NAME=Micronaut docker compose up -d