{"id":20898766,"url":"https://github.com/joanroucoux/node-docker-kubernetes-jenkins","last_synced_at":"2026-04-09T11:03:06.462Z","repository":{"id":193919789,"uuid":"591943797","full_name":"JoanRoucoux/node-docker-kubernetes-jenkins","owner":"JoanRoucoux","description":"Deploy a Node JS app on Kubernetes using Jenkins and Docker","archived":false,"fork":false,"pushed_at":"2023-09-08T04:50:46.000Z","size":45,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T12:51:27.308Z","etag":null,"topics":["docker","jenkins","kubernetes","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoanRoucoux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-22T12:41:49.000Z","updated_at":"2023-03-08T14:15:28.000Z","dependencies_parsed_at":"2023-09-10T20:07:22.211Z","dependency_job_id":null,"html_url":"https://github.com/JoanRoucoux/node-docker-kubernetes-jenkins","commit_stats":null,"previous_names":["joanroucoux/node-docker-kubernetes-jenkins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoanRoucoux%2Fnode-docker-kubernetes-jenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoanRoucoux%2Fnode-docker-kubernetes-jenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoanRoucoux%2Fnode-docker-kubernetes-jenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoanRoucoux%2Fnode-docker-kubernetes-jenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoanRoucoux","download_url":"https://codeload.github.com/JoanRoucoux/node-docker-kubernetes-jenkins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285626,"owners_count":20266849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","jenkins","kubernetes","nodejs"],"created_at":"2024-11-18T11:12:07.923Z","updated_at":"2025-12-30T21:58:35.892Z","avatar_url":"https://github.com/JoanRoucoux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node JS app on Kubernetes using Jenkins and Docker\n## Steps\n1. Build a simple Node JS app\n2. Create a Docker image\n3. Push the image to Docker Hub\n4. Start a Jenkins Docker container and configure plugins\n5. Link your repository to the container using Ngrok\n6. Create the pipeline\n7. Add a step to deploy on K8S on somewhere else\n\n## Jenkins pipeline demo\n![jenkins-pipeline-demo](https://user-images.githubusercontent.com/21682157/213929633-7b3d48ee-7885-4afa-86a9-ee0bb662d9b7.gif)\n\n### Jenkins Docker container\nThis also makes your local Docker usable by the container without having to install it.\n```\n$ docker run -it -u root -d \\\n  -p 8080:8080 \\\n\t-p 50000:50000 \\\n\t-v /var/run/docker.sock:/var/run/docker.sock \\\n\t-v /usr/bin/docker:/usr/bin/docker \\\n\t-v /var/jenkins_home:/var/jenkins_home \\\n\t--name jenkins jenkins/jenkins:lts\n```\n\n### GitHub hook and Ngrok\nThis creates a tunnel between your local Jenkins container and internet so that GitHub can push events when new commits arrive.\n`$ docker run --rm -it --name ngrok --link jenkins shkoliar/ngrok http jenkins:8080`\n\nOn GitHub, add a webhook attached to your repository `\u003cyour url here\u003e/github-webhook/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoanroucoux%2Fnode-docker-kubernetes-jenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoanroucoux%2Fnode-docker-kubernetes-jenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoanroucoux%2Fnode-docker-kubernetes-jenkins/lists"}