Skip to content

Commit bb36572

Browse files
committed
update cloudfoundry sample manifest file
1 parent 0cb5fbe commit bb36572

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cloudfoundry/app.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ applications:
44
- name: mongodb-probe
55
memory: 900M
66
instances: 2
7+
services:
8+
- mongodb-service
79
buildpacks:
810
- java_buildpack_v4_76_0
11+
health-check-type: http
12+
health-check-http-endpoint: /actuator/health
13+
914
env:
10-
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 17.+ } }'
15+
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 21.+ } }'
1116
SPRING_DATA_MONGODB_URI: mongodb://xxx:yyy@rs0-0-mongo-server:27017,rs0-1-mongo-server:27017,rs0-2-mongo-server:27017/db?replicaSet=rs0&tls=true
1217
OTEL_SERVICE_NAME: mongodb-probe-cf
1318
OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger-collector-otel-server:443
14-

0 commit comments

Comments
 (0)