提交 cff6c15f 编写于 作者: Y Yiming Liu

Merge pull request #25 from yiming187/conf_update

Update config to support multiple processes
...@@ -23,3 +23,8 @@ target ...@@ -23,3 +23,8 @@ target
# git # git
*.orig *.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.username = sa
spring.datasource.password = spring.datasource.password =
spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
......
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
name: apollo-configadmin name: apollo-configadmin
server: server:
port: 9080 port: ${port:8080}
logging: logging:
level: level:
......
eureka: eureka:
instance: instance:
hostname: localhost hostname: ${hostname:localhost}
client: client:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ defaultZone: http://${eureka.instance.hostname}/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
\ No newline at end of file
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
name: apollo-configserver name: apollo-configserver
server: server:
port: 80 port: ${port:80}
logging: logging:
level: level:
......
eureka: eureka:
instance: instance:
hostname: localhost hostname: ${hostname:localhost}
client: client:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ defaultZone: http://${eureka.instance.hostname}/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册