From: Pamela Dragosh Date: Wed, 22 Feb 2017 19:55:15 +0000 (-0500) Subject: adding directions for running docker-compose X-Git-Tag: v1.1.0~85 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e638c62f002a339536a6a76515ed8a238b135d90;p=policy%2Fdocker.git adding directions for running docker-compose Change-Id: Ia4b6e30c394e1374a9576726a30c204371e4683b Signed-off-by: Pamela Dragosh --- diff --git a/README.md b/README.md index 3a4b4cd2..f0b39375 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,8 @@ To build it using Maven 3, first build 'policy-common-modules', 'policy-engine', In addition, the 'config' dirctory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file. +If you want to call the docker-compose, the following needs to be setup before doing so: + +chmod +x config/drools/drools-tweaks.sh +IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) +echo $IP_ADDRESS > config/pe/ip_addr.txt