We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb5fbe commit bb36572Copy full SHA for bb36572
cloudfoundry/app.yaml
@@ -4,11 +4,15 @@ applications:
4
- name: mongodb-probe
5
memory: 900M
6
instances: 2
7
+ services:
8
+ - mongodb-service
9
buildpacks:
10
- java_buildpack_v4_76_0
11
+ health-check-type: http
12
+ health-check-http-endpoint: /actuator/health
13
+
14
env:
- JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 17.+ } }'
15
+ JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 21.+ } }'
16
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
17
OTEL_SERVICE_NAME: mongodb-probe-cf
18
OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger-collector-otel-server:443
-
0 commit comments