From b8fc5b5e038dde306cad169b3133100549a3d934 Mon Sep 17 00:00:00 2001 From: liuzhaolu Date: Wed, 20 Dec 2017 14:59:41 +0800 Subject: [PATCH] 新配置 --- config-repo/EurakaServer.yml | 11 +++++++++++ config-repo/helloprovider-test.yml | 2 ++ config-repo/helloprovider.yml | 2 ++ 3 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 config-repo/EurakaServer.yml create mode 100644 config-repo/helloprovider-test.yml create mode 100644 config-repo/helloprovider.yml diff --git a/config-repo/EurakaServer.yml b/config-repo/EurakaServer.yml new file mode 100644 index 0000000..e21aaa5 --- /dev/null +++ b/config-repo/EurakaServer.yml @@ -0,0 +1,11 @@ +eureka: + instance: + prefer-ip-address: true + client: + register-with-eureka: false + fetch-registry: false + serviceUrl: + defaultZone: http://127.0.0.1:${server.port}/eureka/ + +server: + port: 1002 \ No newline at end of file diff --git a/config-repo/helloprovider-test.yml b/config-repo/helloprovider-test.yml new file mode 100644 index 0000000..37d55f3 --- /dev/null +++ b/config-repo/helloprovider-test.yml @@ -0,0 +1,2 @@ +server: + port: 1010 \ No newline at end of file diff --git a/config-repo/helloprovider.yml b/config-repo/helloprovider.yml new file mode 100644 index 0000000..3571043 --- /dev/null +++ b/config-repo/helloprovider.yml @@ -0,0 +1,2 @@ +server: + port: 1002 \ No newline at end of file -- libgit2 0.21.4