{"id":20198436,"url":"https://github.com/uudashr/jenkins-infra-compose","last_synced_at":"2026-05-02T11:43:31.119Z","repository":{"id":142323388,"uuid":"91863111","full_name":"uudashr/jenkins-infra-compose","owner":"uudashr","description":"Jenkins on Docker Compose","archived":false,"fork":false,"pushed_at":"2017-06-07T04:11:45.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T19:48:15.860Z","etag":null,"topics":["docker","docker-compose","jenkins"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/uudashr.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-20T03:41:13.000Z","updated_at":"2017-11-21T06:28:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fa457fd-ca2b-481f-abfc-21d342d2d0db","html_url":"https://github.com/uudashr/jenkins-infra-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uudashr%2Fjenkins-infra-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uudashr%2Fjenkins-infra-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uudashr%2Fjenkins-infra-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uudashr%2Fjenkins-infra-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uudashr","download_url":"https://codeload.github.com/uudashr/jenkins-infra-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241631238,"owners_count":19993988,"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","docker-compose","jenkins"],"created_at":"2024-11-14T04:31:22.010Z","updated_at":"2025-11-29T12:07:01.727Z","avatar_url":"https://github.com/uudashr.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins Infrastructure\nThis are attempt to configure Jenkins infrastructure using docker-compose.\n\nWhat included here is:\n- Jenkins as master\n- Jenkins slave\n\n## Run\nThen run the compose\n```shell\n$ docker-compose up -d\n```\n\n## Slave\nPrepare the keys stored on `slave.env` using\n```shell\n$ make slave.env\n```\n\nThen configure the slave on `Manage Jenkins \u003e Manage Node \u003e New Node`\n1. Enter name \"lucian\"\n2. Number of executor \"2\"\n3. Remote root directory \"/home/jenkins\"\n5. Launch method \"Launch slave agents via SSH\"\n   - Host: \"jenkins-slave-lucian\"\n   - Credentials: Add credentials (note: make sure you choose one after added new credentials)\n     - Kind: SSH Username with private key\n     - Username: jenkins\n     - Private Key: Enter directly (paste from `keys/jenkins_slave_rsa`)\n     - Passphrase: [same with the one we execute `make slave.env`]\n     - ID: jenkins-slave\n     - Description: Jenkins slave\n  - Host Key Verification Strategy: Non verifying Verification Strategy\n\n\n\n## Docker\nTo enable the docker, we have to add Docker tool on `Manage Jenkins \u003e Global Tool Configuration`. Use auto installation from https://docker.io.\n\nSet environment variable `Manage Jenkins \u003e Configure System`, on `Global Properties`\n\n```properties\nDOCKER_HOST=tcp://dockerd:2375\n```\n\nor manually by using `tool` command on Pipeline script\n```groovy\nnode {\n  // Need to configure tool on 'Global Tool Configuration'\n  def root = tool name: 'Docker'\n  withEnv([\"PATH+DOCKER=${root}/bin\", \"DOCKER_HOST=tcp://dockerd:2375\"]) {\n    sh \"docker version\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuudashr%2Fjenkins-infra-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuudashr%2Fjenkins-infra-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuudashr%2Fjenkins-infra-compose/lists"}