[PPN-211113] Re-structure properties
This commit is contained in:
@@ -5,10 +5,11 @@ spring:
|
||||
import:
|
||||
- "configserver:http://192.168.0.100:11080"
|
||||
- classpath:/development/webclient.yml
|
||||
- classpath:/development/temppassword.yml
|
||||
- classpath:/development/database.yml
|
||||
profiles:
|
||||
group:
|
||||
development: development, datasource-development
|
||||
|
||||
server:
|
||||
port: 20081
|
||||
|
||||
# import: optional:configserver:http://localhost:11080 # can be start up even config server was not found.
|
||||
10
processor/src/main/resources/application-production.yml
Normal file
10
processor/src/main/resources/application-production.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: development
|
||||
import:
|
||||
- "configserver:http://192.168.0.100:11080"
|
||||
- classpath:/development/webclient.yml
|
||||
profiles:
|
||||
group:
|
||||
development: development, datasource-development
|
||||
@@ -4,13 +4,13 @@ spring:
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
profiles:
|
||||
active: development
|
||||
active: ${SPRING_ACTIVE_PROFILE:development}
|
||||
freemarker:
|
||||
enabled: false
|
||||
|
||||
|
||||
server:
|
||||
port: 20081
|
||||
port: 20080
|
||||
error:
|
||||
whitelabel:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user