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

Update config to support multiple processes

上级 2784b0a2
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册