Compare commits

..
2 Commits
Author SHA1 Message Date
2martens c8e4474175 Remove configserver import from general configuration
continuous-integration/drone/push Build is failing
2023-08-16 22:09:50 +02:00
2martens 499c85ae49 Load configserver only in production and move refreshable prod properties to wahlrecht-prod
continuous-integration/drone/push Build is failing
2023-08-16 22:08:50 +02:00
4 changed files with 7 additions and 3 deletions
@@ -1,2 +0,0 @@
server:
port: 12000
@@ -0,0 +1,5 @@
spring:
config:
import:
- "classpath:config/wahlrecht.yaml"
- "optional:configserver:http://configserver:8888/config"
@@ -26,7 +26,6 @@ spring:
config: config:
import: import:
- "classpath:config/wahlrecht.yaml" - "classpath:config/wahlrecht.yaml"
- "optional:configserver:http://configserver:8888/config"
main: main:
banner-mode: off banner-mode: off
profiles: profiles:
@@ -0,0 +1,2 @@
de.twomartens.wahlrecht:
greeting: "Moin %s"