From 5871c64582cda9de44161e68b70761b27b641627 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 19 Apr 2024 22:26:17 +0100 Subject: [PATCH] cleanup application.yml --- src/main/resources/application.yml | 31 ++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f8e822c..19ae3c6 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -23,17 +23,8 @@ spring: database: test port: 27017 -# Disable default metrics -management: - endpoints: - web: - exposure: - exclude: - - "*" - influx: - metrics: - export: - enabled: false +# The URL of the API +public-url: http://localhost # InfluxDB Configuration influx: @@ -42,10 +33,22 @@ influx: org: org bucket: bucket +management: + # Disable all actuator endpoints + endpoints: + web: + exposure: + exclude: + - "*" + # Disable default metrics + influx: + metrics: + export: + enabled: false + +# Set the embedded MongoDB version de: flapdoodle: mongodb: embedded: - version: 7.0.8 - -public-url: http://localhost \ No newline at end of file + version: 7.0.8 \ No newline at end of file