Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.24 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.24 KB

Docker UCP Demo DockerCon 16

Prerequisites:
- Vagrant
- Ruby

The architecture

This repo will build a three node UCP cluster. The base OS will be Ubuntu with a patched kernel to support the namespace for the native Docker network stack. On the first node we will install UCP, we will then deploy a consul container which we will use as the key/value store for the Docker network "swarm-private". The next two nodes will join the UCP cluster and set up all the tls for authentication. Then we will deploy the Jenkins 2.0 with Docker Compose using interlock as the entry point. Jenkins will then have a build job to deploy a demo web app. This will all be built with Puppet.

Grab a trial license key for Docker data centre and copy it into docker_subscription.lic

Run the environment

git clone https://github.com/scotty-c/ucp-demo.git && cd ucp-demo
vagrant up
echo "172.17.10.103 jenkins.ucp-demo.local">>/etc/hosts && echo "172.17.10.103 webapp.ucp-demo.local">>/etc/hosts 

Access to the UCP console

https://172.17.10.101

```
Username : admin
Password : orca

# Access to the Jenkins console
```
http://jenkins.ucp-demo.local/

username: admin
password: admin
```
# Access to the demo web app

http://webapp.ucp-demo.local/