Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 643 Bytes

File metadata and controls

37 lines (26 loc) · 643 Bytes

Hello World

Build Script

You can run the whole build with the following script or follow the step-by-step guide below.

chmod u+x build.sh
./build.sh

Step-by-step build

Build App

mvn package

Build Docker Image

docker build --tag hello-world-nacos .

Run

This assumes, that you have Nacos running on its default port on your local machine.

docker run --name hello-world-nacos -e NACOS_SERVER_ADDR=host.docker.internal:8848 -p 8180:8080 -p 8181:8081 -d --rm hello-world-nacos

URI

Access Actuator

URI