annotate spring-cloud-config-server/src/main/resources/application.properties @ 20:452cfefb0e1e default tip

Einfache Spring Application, die ihre config aus dem Spring Cloud Config Server liest
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 17 Sep 2020 17:25:15 +0200
parents fe6a57f7a2cf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
1 #debug = true
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
2
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
3 logging.pattern.console = %d{HH:mm:ss.SSS} %-5p [%10.10t] %c{1} : %m%n
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
4
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
5 server.port = 8888
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
6
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
7 spring.application.name = spring-cloud-config-server
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
8
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
9 spring.cloud.config.server.jdbc.bootstrap = true
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
10 spring.cloud.config.server.git.enabled = false
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
11
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
12 spring.datasource.url = jdbc:h2:./target/db/config;AUTO_SERVER=true
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
13
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
14 spring.main.banner-mode = off
fe6a57f7a2cf Spring Cloud Config server
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff changeset
15 spring.profiles.active = jdbc