Skip to content

Commit df8662c

Browse files
committed
Fix admin-service actuator config
Inlcude actuator config in admin-service's bootstrap.xml Using a separate port won't work for this specific service.
1 parent 2bd4391 commit df8662c

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

docs/deploy/docker-compose/stable/jdbcconfig/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ services:
107107
resources:
108108
limits:
109109
cpus: '2.0'
110-
memory: 512M
110+
memory: 1G
111111

112112
# Application facade, provides a single entry point routing to all
113113
# microservices (e.g. http://localhost:9090/geoserver/wms, http://localhost:9090/geoserver/wfs, etc)

docs/deploy/docker-compose/stable/shared_datadir/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ services:
9797
resources:
9898
limits:
9999
cpus: '2.0'
100-
memory: 512M
100+
memory: 1G
101101

102102
# Application facade, provides a single entry point routing to all
103103
# microservices (e.g. http://localhost:9090/geoserver/wms, http://localhost:9090/geoserver/wfs, etc)

support-services/admin/src/main/resources/bootstrap.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ server:
77
# Let spring-boot's ForwardedHeaderFilter take care of reflecting the client-originated protocol and address in the HttpServletRequest
88
forward-headers-strategy: framework
99
servlet.context-path: /
10-
management.server.port: 8081
1110
spring:
1211
config:
1312
import:
@@ -34,6 +33,24 @@ spring:
3433
# override default of false, this service uses the registry (when eureka client is enabled)
3534
eureka.client.fetch-registry: true
3635

36+
management:
37+
endpoints:
38+
enabled-by-default: true
39+
web.exposure.include: "*"
40+
endpoint:
41+
info.enabled: true
42+
metrics.enabled: true
43+
shutdown.enabled: true
44+
health:
45+
enabled: true
46+
probes.enabled: true
47+
show-details: always
48+
metrics:
49+
enable:
50+
all: true
51+
export:
52+
atlas.enabled: false
53+
3754
logging.level:
3855
'[org.springframework.retry]': debug
3956

0 commit comments

Comments
 (0)