File tree 3 files changed +20
-1
lines changed
spring-graalvm-native-samples/actuator-webflux
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
- # actuator-webflux
1
+ Spring Boot project with Spring WebFlux and Spring Boot actuators.
2
2
3
+ To build and run the native application packaged in a lightweight container:
4
+ ```
5
+ ./gradlew bootBuildImage
6
+ docker-compose up
7
+ ```
Original file line number Diff line number Diff line change
1
+ version : ' 3.1'
2
+ services :
3
+ actuator-webflux :
4
+ image : actuator-webflux:0.0.1-SNAPSHOT
5
+ ports :
6
+ - " 8080:8080"
Original file line number Diff line number Diff line change 56
56
<plugin >
57
57
<groupId >org.springframework.boot</groupId >
58
58
<artifactId >spring-boot-maven-plugin</artifactId >
59
+ <configuration >
60
+ <image >
61
+ <builder >nebhale/native-image-builder:defer-to-application</builder >
62
+ <env >
63
+ <BP_BOOT_NATIVE_IMAGE >1</BP_BOOT_NATIVE_IMAGE >
64
+ </env >
65
+ </image >
66
+ </configuration >
59
67
</plugin >
60
68
</plugins >
61
69
</build >
You can’t perform that action at this time.
0 commit comments