File tree 3 files changed +26
-24
lines changed
spring-boot-admin-samples/spring-boot-admin-sample-servlet-graalvm
3 files changed +26
-24
lines changed Original file line number Diff line number Diff line change
1
+ # Spring Boot Admin GraalVM sample application
2
+
3
+ ## Build Project
4
+
5
+ ```
6
+ $ mvn clean package -Pnative
7
+ ```
8
+
9
+ ## Build an OCI image that can be run with Docker
10
+
11
+ ```
12
+ $ mvn spring-boot:build-image
13
+ ```
14
+
15
+ ## Running the example
16
+
17
+ ```
18
+ $ docker run --rm -p 8080:8080 docker.io/library/spring-boot-admin-sample-servlet-graalvm:3.0.1-SNAPSHOT
19
+ ```
Original file line number Diff line number Diff line change 32
32
<groupId >de.codecentric</groupId >
33
33
<artifactId >spring-boot-admin-starter-server</artifactId >
34
34
</dependency >
35
- <dependency >
36
- <groupId >org.springframework.boot</groupId >
37
- <artifactId >spring-boot-starter-web</artifactId >
38
- </dependency >
39
35
<dependency >
40
36
<groupId >de.codecentric</groupId >
41
37
<artifactId >spring-boot-admin-starter-client</artifactId >
42
38
</dependency >
39
+ <dependency >
40
+ <groupId >org.springframework.boot</groupId >
41
+ <artifactId >spring-boot-starter-web</artifactId >
42
+ </dependency >
43
43
<!-- Test -->
44
44
<dependency >
45
45
<groupId >org.springframework.boot</groupId >
156
156
</profiles >
157
157
<properties >
158
158
<native-build-tools-plugin .version>0.9.18</native-build-tools-plugin .version>
159
+ <maven .javadoc.skip>true</maven .javadoc.skip>
159
160
</properties >
160
161
161
162
</project >
Original file line number Diff line number Diff line change @@ -32,20 +32,10 @@ management:
32
32
spring :
33
33
application :
34
34
name : spring-boot-admin-3-graalvm
35
- config :
36
- import : optional:configserver:http://localhost:8888/
37
35
jmx :
38
36
enabled : true
39
37
main :
40
38
lazy-initialization : true
41
- boot :
42
- admin :
43
- ui :
44
- cache :
45
- no-cache : true
46
- resource-locations : file:/Users/ulrichschulte/Development/spring-boot-admin-dev/spring-boot-admin/spring-boot-admin-server-ui/target/dist/
47
- template-location : file:/Users/ulrichschulte/Development/spring-boot-admin-dev/spring-boot-admin/spring-boot-admin-server-ui/target/dist/
48
- cache-templates : false
49
39
50
40
---
51
41
# tag::customization-external-views[]
@@ -60,14 +50,6 @@ spring:
60
50
# context-path: test/
61
51
client :
62
52
url : http://localhost:8080
53
+ instance :
54
+ service-base-url : http://localhost:8080
63
55
# end::customization-external-views[]
64
- ---
65
- # tag::customization-view-settings[]
66
- spring :
67
- boot :
68
- admin :
69
- ui :
70
- view-settings :
71
- - name : " journal"
72
- enabled : false
73
- # end::customization-view-settings[]
You can’t perform that action at this time.
0 commit comments