6 How to Docker setup on Single VM
7 ================================
11 1. Linux distribution Ubuntu is assumed (version 16.04 preferred)
13 2. Make sure that git, docker and docker-compose are installed
18 1. You would need to have a root access to the vm
23 2. Navigate to /opt directory
28 3. Clone the test-config git project
31 git clone http://gerrit.onap.org/r/aai/test-config
33 4. Navigate to /opt/test-config directory
38 5. Create a directory called /opt/config
43 6. Create a file called /opt/config/nexus\_username.txt containing the text: docker
46 echo "docker" > /opt/config/nexus_username.txt
48 7. Create a file called /opt/config/nexus\_password.txt containing the text: docker
51 echo "docker" > /opt/config/nexus_password.txt
53 8. Create a file called /opt/config/dmaap\_topic.txt containing the text: AAI-EVENT
56 echo "AAI-EVENT" > /opt/config/dmaap_topic.txt
58 9. Create a file called /opt/config/nexus\_docker\_repo.txt containing text: nexus3.onap.org:10001
61 echo "nexus3.onap.org:10001" > /opt/config/nexus_docker_repo.txt
63 10. Create a file called /opt/config/docker\_version.txt containing text: 1.1-STAGING-latest
66 echo "1.1-STAGING-latest" > /opt/config/docker_version.txt
68 11. Please note that in the previous step, docker version is currently 1.1-STAGING-latest and this will be changed later. Finally, run the installation scripts
71 ./deploy_vm2.sh && ./deploy_vm1.sh