Last active
September 7, 2020 04:27
-
-
Save dkirrane/1fcfbabe1c04ca713e03a6781f7f99fc to your computer and use it in GitHub Desktop.
GoCD docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://hub.docker.com/r/gocd/gocd-server/ | |
server: | |
image: gocd/gocd-server:v17.10.0 | |
hostname: go-server # Needed so the go-agent can find the server | |
ports: | |
- '8153:8153' | |
- '8154:8154' | |
environment: | |
- GO_SERVER_SYSTEM_PROPERTIES='-Dgo.plugin.upload.enabled=true' | |
# https://hub.docker.com/r/gocd/gocd-agent-alpine-3.5/ | |
agent: | |
image: gocd/gocd-agent-alpine-3.5:v17.10.0 | |
links: | |
- server | |
environment: | |
- GO_SERVER_URL=https://localhost:8154/go | |
# https://docs.gocd.org/current/advanced_usage/agent_auto_register.html | |
#- AGENT_AUTO_REGISTER_KEY: | |
#- AGENT_AUTO_REGISTER_RESOURCES: | |
#- AGENT_AUTO_REGISTER_ENVIRONMENTS: | |
#- AGENT_AUTO_REGISTER_HOSTNAME: agent1 |
Plugins: https://www.gocd.org/plugins/
Admin > Plugins > Browse to jar
Maven:
https://github.com/1and1/go-maven-poller/releases
https://github.com/ruckc/gocd-maven-plugin/releases
Gradle:
https://github.com/jmnarloch/gocd-gradle-plugin/releases
Docker:
https://github.com/manojlds/gocd-docker/releases
https://github.com/Haufe-Lexware/gocd-plugins/releases
Build Pull Requests:
https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases
https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases
Authorization
https://github.com/mgambini/crowd-integration-plugin/releases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-compose up -d
docker-compose logs
Open browser @
http://<host-ip>:8153