Sign inSign up

c12e/gocd-server

By c12e

•Updated over 8 years ago

gocd-server for continuous integration

Artifact
Image
0

10K+

c12e/gocd-server repository overview

⁠Go Continuous Delivery Server

The following are the containers used in the docker-compose.yml for the server

⁠How to use?

  1. Install Docker on your directly or via Docker Toolbox

  2. Launch consul/vault/registrator

     cd docker-alpine/baseband
     docker-compose up -d
    
  3. 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

  4. 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

PathKey(s)Description
secret/gocdrootfsdocker exec -it gocdserver_vault_1 sh -c "VAULT_TOKEN= vault write /secret/gocd rootfs=$(base64 root.tgz)" tore a tar of secrets
  1. Start the gocd compose file..

     cd gocd-server
     export VAULT_TOKEN=<ROOT/Vault TOKEN from #3>
     docker-compose up -d
     
    

Tag summary

Content type

Image

Digest

Size

245.7 MB

Last updated

over 9 years ago

docker pull c12e/gocd-server