gocd-server for continuous integration
10K+
The following are the containers used in the docker-compose.yml for the server
| Container | Docker index | Github repo |
|---|---|---|
| gocd-server | c12e/gocd-server | cognitivescale/gocd-server |
| gocd-agent | c12e/gocd-agent | cognitivescale/gocd-agent |
| selenium-hub | selenium/slenium-hub | SeleniumHQ/docker-selenium |
| node-chrome | selenium/node-chrome | SeleniumHQ/docker-selenium |
| node-firefox | selenium/node-firefox | SeleniumHQ/docker-selenium |
| consul | gliderlabs/consul-server | |
| registrator | gliderlabs/registrator | |
| vault | c12e/vault | cognitivescale/docker-alpine/vault |
Install Docker on your directly or via Docker Toolbox
Launch consul/vault/registrator
cd docker-alpine/baseband
docker-compose up -d
Connect to the vault container and initialize vault
docker exec -it vault sh
vault init
# Write downs the keys and root token YOU WILL NEED these
vault unseal KEY1
vault unseal KEY2
vault unseal KEY3
vault status
You should see that the vault is unsealed at this point
Writing data to the vault
export VAULT_TOKEN=<ROOT/Vault TOKEN from #3>
vault write PATH KEY=VALUE
Here is a list of known paths/keys for setup in vault
| Path | Key(s) | Description |
|---|---|---|
| secret/gocd | rootfs | docker exec -it gocdserver_vault_1 sh -c "VAULT_TOKEN= vault write /secret/gocd rootfs=$(base64 root.tgz)" tore a tar of secrets |
Start the gocd compose file..
cd gocd-server
export VAULT_TOKEN=<ROOT/Vault TOKEN from #3>
docker-compose up -d
Content type
Image
Digest
Size
245.7 MB
Last updated
over 9 years ago
docker pull c12e/gocd-server