From f1e64ea573ade69334e0cf75655cb5d397545033 Mon Sep 17 00:00:00 2001 From: Ryan Dawson Date: Mon, 9 Oct 2017 17:09:23 +0100 Subject: [PATCH] use explicit env variable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d74e06..6ff0273 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Each client will need to have a bootstrap.properties and the spring-cloud-starte Let's say we run the config server using name activiti-cloud-config-server on port 8888 (similar to https://github.com/hyness/spring-cloud-config-server/blob/master/docker-compose.yml). Then we could include this value in all of the bootstrap.properties: -spring.cloud.config.uri=http://activiti-cloud-config-server:8888 +spring.cloud.config.uri=${ACT_CONFIG_SERVER_URL:http://activiti-cloud-config-server:8888} Or if our app is connecting to the docker container from outside docker then we would use localhost instead of activiti-cloud-config-server -- 2.26.0