Commit cff6c15f by Yiming Liu

Merge pull request #25 from yiming187/conf_update

Update config to support multiple processes
parents 2784b0a2 a89cbe5d
......@@ -23,3 +23,8 @@ target
# git
*.orig
dev
fat
uat
prd
\ No newline at end of file
spring.datasource.url = jdbc:h2:file:~/fxapolloconfigdb;mode=mysql
spring.datasource.url = jdbc:h2:mem:~/fxapolloconfigdb;mode=mysql
spring.datasource.username = sa
spring.datasource.password =
spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
......
......@@ -3,7 +3,7 @@ spring:
name: apollo-configadmin
server:
port: 9080
port: ${port:8080}
logging:
level:
......
eureka:
instance:
hostname: localhost
hostname: ${hostname:localhost}
client:
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
defaultZone: http://${eureka.instance.hostname}/eureka/
healthcheck:
enabled: true
\ No newline at end of file
......@@ -3,7 +3,7 @@ spring:
name: apollo-configserver
server:
port: 80
port: ${port:80}
logging:
level:
......
eureka:
instance:
hostname: localhost
hostname: ${hostname:localhost}
client:
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
defaultZone: http://${eureka.instance.hostname}/eureka/
healthcheck:
enabled: true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment