From a04094bc60564cb62420da94a045a656bba389c3 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 16 Aug 2023 21:09:15 +0200 Subject: [PATCH] Move configserver import to bootstrap.yaml --- module-server/src/main/resources/application.yaml | 2 -- module-server/src/main/resources/bootstrap.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 module-server/src/main/resources/bootstrap.yaml diff --git a/module-server/src/main/resources/application.yaml b/module-server/src/main/resources/application.yaml index 8f5a631..4f218ef 100644 --- a/module-server/src/main/resources/application.yaml +++ b/module-server/src/main/resources/application.yaml @@ -23,8 +23,6 @@ management: http.server.requests: true spring: - config: - import: "optional:configserver:http://configserver:8888/config" main: banner-mode: off profiles: diff --git a/module-server/src/main/resources/bootstrap.yaml b/module-server/src/main/resources/bootstrap.yaml new file mode 100644 index 0000000..d5d92bf --- /dev/null +++ b/module-server/src/main/resources/bootstrap.yaml @@ -0,0 +1,3 @@ +spring: + config: + import: "optional:configserver:http://configserver:8888/config"