diff options
author | ojasdubey <ojas.dubey@amdocs.com> | 2018-11-18 15:46:54 +0200 |
---|---|---|
committer | ojasdubey <ojas.dubey@amdocs.com> | 2018-11-18 16:03:15 +0200 |
commit | e34c061b3f4e4ca23c92d2d3016f6b3bcc447601 (patch) | |
tree | 8d62bc52e27452a28c983c32083c9b8e1385c300 /heat/ONAP/cloud-config/sdc_install.sh | |
parent | f4fa82a86327ef5b6226c864feb2b2abac119b18 (diff) |
SDC workflow docker-compose
Added support for workflow deployment
on heat using docker-compose
Change-Id: I78e61d947f243807384be22cf583e0608bef7360
Issue-ID: SDC-1743
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'heat/ONAP/cloud-config/sdc_install.sh')
-rw-r--r-- | heat/ONAP/cloud-config/sdc_install.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/heat/ONAP/cloud-config/sdc_install.sh b/heat/ONAP/cloud-config/sdc_install.sh index caeff2f4..bf6b5929 100644 --- a/heat/ONAP/cloud-config/sdc_install.sh +++ b/heat/ONAP/cloud-config/sdc_install.sh @@ -52,4 +52,15 @@ EOF # Run docker containers. For openstack Ubuntu 16.04 images this will run as a service after the VM has restarted ./sdc_vm_init.sh -./sdc_wfd_vm_init.sh + +#Install docker-compose for workflow installation +mkdir /opt/docker +curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose +chmod +x /opt/docker/docker-compose + +#Prepare env for docker compose +IP_ADDRESS=$(cat /opt/config/private_ip.txt) +sed -i "s/yyy/$IP_ADDRESS/g" .env + +#Setup sdc workflow using docker compose +docker-compose up -d
\ No newline at end of file |