{"id":23459595,"url":"https://github.com/d-led/gocd_docker_compose_example","last_synced_at":"2026-02-05T16:06:01.860Z","repository":{"id":146619798,"uuid":"82105891","full_name":"d-led/gocd_docker_compose_example","owner":"d-led","description":"A simple GoCD demo environment using docker-compose \u0026 yaml pipeline as code","archived":false,"fork":false,"pushed_at":"2018-12-27T09:44:05.000Z","size":1917,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T04:15:18.606Z","etag":null,"topics":["continuous-delivery","continuous-integration","demo","demo-environment","docker","gocd","pipeline","pipelines-as-code","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-led.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-02-15T20:56:10.000Z","updated_at":"2019-05-24T11:27:34.000Z","dependencies_parsed_at":"2023-04-11T05:02:05.017Z","dependency_job_id":null,"html_url":"https://github.com/d-led/gocd_docker_compose_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d-led/gocd_docker_compose_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fgocd_docker_compose_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fgocd_docker_compose_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fgocd_docker_compose_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fgocd_docker_compose_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-led","download_url":"https://codeload.github.com/d-led/gocd_docker_compose_example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fgocd_docker_compose_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29125114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["continuous-delivery","continuous-integration","demo","demo-environment","docker","gocd","pipeline","pipelines-as-code","yaml"],"created_at":"2024-12-24T06:16:02.126Z","updated_at":"2026-02-05T16:06:01.855Z","avatar_url":"https://github.com/d-led.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoCD Infrastructure as Code\n\n[![Build Status](https://travis-ci.org/d-led/gocd_docker_compose_example.svg?branch=master)](https://travis-ci.org/d-led/gocd_docker_compose_example)\n\na simple [GoCD](https://www.gocd.io/) demo environment that completely provisions itself and adds build pipelines (as code), e.g. as a [YAML](https://github.com/tomzo/gocd-yaml-config-plugin) config, via the [REST API](https://api.gocd.io/) / an external tool (gomatic) / through an XML config file.\n\n[\u0026rarr; Blog: Self-contained GoCD Environment Using Docker-Compose](https://ledentsov.de/2017/03/04/self-contained-gocd-docker-compose/)\n\n## the versions\n\n- [gomatic](gomatic) - a server and an agent container as they are out of the box + a [gomatic](https://github.com/gocd-contrib/gomatic) script to provision the server (**needs fixing** for the current GoCD version)\n- [static_config](static_config) - 2 different agents, server provisioned via a static config file copie into the container\n- [provisioned_externally](provisioned_externally) - 2 different agents, server provisioned externally via the API\n\n## summary of the provisioned version\n\nthe startup sequence:\n\n- the GoCD server starts\n- two different agents start\n- agents wait to connect to the server\n- the provisioner waits some, and adds the pipelines to the config\n- the server picks up the config and starts the builds\n\n## up and running\n\nin [static_config](static_config), run:\n\n```\ndocker-compose up -d\n```\n\n### troubleshooting\n\n- see the console output of the containers\n- In case you mount folders instead of copying them, note, on some platforms Docker fails to mount local folders. In this case, use [node-docker-share](https://github.com/vweevers/node-docker-share)!\n\n## access the instance\n\n- http://[go-server-ip]:8153\n\n![](img/screen.png)\n\n![](img/vsm.png)\n\n## shutdown\n\n```\ndocker-compose stop\n```\n\nor destroy via:\n\n```\ndocker-compose down --remove-orphans\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-led%2Fgocd_docker_compose_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-led%2Fgocd_docker_compose_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-led%2Fgocd_docker_compose_example/lists"}