The intent of this project is to build a self-contained docker cluster using docker-compose.
Clone this repo and run docker-compose up
to get it running.
Create a key pair and put it in ./drupal/deploy.key and ./drupal/deploy.key.pub:
ssh-keygen -t rsa -b 4096 -C "docker@nucivic" -f ./drupal/deploy.key
Then add the key in deploy.key.pub to the github repo you wish to clone:
- Visit the github repo page.
- Click settings.
- Click Deploy keys
- Click Add Deploy Key
- Copy and paste in the deploy key.
- Click Save.
docker-compose up
will build the image by cloning the code into the container.
Learned how to set this up from http://stackoverflow.com/questions/23391839/clone-private-git-repo-with-dockerfile
The haproxy image is not working properly. We are still in progress on configuring this correctly.
I disabled that container for now.