programming:spring
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:spring [2024/07/13 20:37] – [Cloud Sleuth - unique tracing id to requests] skipidar | programming:spring [2024/07/14 19:36] (current) – [Docker] skipidar | ||
|---|---|---|---|
| Line 315: | Line 315: | ||
| - | Central tracing server. Like ELK. | + | Central tracing server. |
| + | * Like ELK. | ||
| + | * and CloudWatch | ||
| + | |||
| + | {{https:// | ||
| + | {{https:// | ||
| ==== Spring Cloud Bus ==== | ==== Spring Cloud Bus ==== | ||
| Line 325: | Line 330: | ||
| + | |||
| + | ===== Docker ===== | ||
| + | |||
| + | == Build manually without gradle == | ||
| + | |||
| + | <sxh java> | ||
| + | docker build --build-arg JAR_FILE=build/ | ||
| + | </ | ||
| + | |||
| + | == Build with Gradle == | ||
| + | |||
| + | You can build a tagged docker image with Gradle in one command: | ||
| + | |||
| + | <sxh java> | ||
| + | sudo su | ||
| + | ./gradlew bootBuildImage --imageName=springio/ | ||
| + | |||
| + | |||
| + | sudo docker images | ||
| + | |||
| + | </ | ||
| + | |||
| + | == And run == | ||
| + | |||
| + | <sxh java> | ||
| + | sudo docker run -p 8080:8080 springio/ | ||
| + | </ | ||
programming/spring.1720903044.txt.gz · Last modified: by skipidar
