Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.18 KB

docker-jenkins

Wordpress with Jenkins and Docker

Install local development environment (Win)

  1. open cmd under Windows
  2. exectue 'install_dev_env.cmd'
  3. approx 20 sek after the scrip has finished execute 'docker container logs jenkins-blueocean'
  4. copy the token
  5. open 'localhost:1000' and insert the token
  6. install standard plugins
  7. add admin account via dialog
  8. jenkins url is 'http://localhost:1000/'
  9. hit "Start using Jenkins"

Create pipeline for the docker-jenkins project

  1. klick "Open Blue Ocean" at the left bar
  2. "Create a new pipeline"
  3. "Github"
  4. "Create an access token here."
  5. Log in to github, give the token a name, hit enter, copy the token
  6. insert the token in jenkins and hit "Connect"
  7. choose "conoloy"
  8. choose "docker-jenkins"
  9. klick "create pipeline"

Run local development environment (Win)

  1. open cmd under Windows
  2. exectue 'install_dev_env.cmd'

Check the images created

  1. 'docker exec -it jenkins-docker /bin/sh
  2. 'docker images'

Next steps

Create a seperate pipeline to deploy the images created to aws Tutorial on that: https://medium.com/@sachin34268/deploy-docker-containers-on-aws-ecs-cluster-via-jenkins-605eee0d22b0