summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2018-04-17 17:03:30 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2018-04-17 17:03:30 +0200
commit4a2e0e101c132c2218033b5e381898a6024e34d8 (patch)
tree6d1672d1a75b10803800fe8e37f8b82093ae7ac8
parent80f8b49d3480cb00cd1d774818d35355496f5a96 (diff)
Add variables to set IP address of ONAP components
These variables must be set either inside an `.env` file in the same folder as docker-compose.yml or via `exports` function of shell. Currently, 3 (self explanatory) variables must be set: - SDC_IP - AAI_IP - SO_IP Change-Id: Ie3e00bbcca7aafab9b5b15b1dc03b9df4beaa0e7 Issue-ID: EXTAPI-75 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
-rw-r--r--docker-compose.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index a5debd8..89902ab 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -27,6 +27,9 @@ services:
SPRING_DATASOURCE_PASSWORD: toto
SPRING_DATASOURCE_USERNAME: rene
SPRING_DATA_MONGODB_HOST: mongo
+ SPRING_SDC_HOST: ${SDC_IP}
+ SPRING_AAI_HOST: ${AAI_IP}
+ SPRING_SO_HOST: ${SO_IP}
depends_on:
- mariadb
- mongo