Skip to content

RealOrko/concourse-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concourse with Credhub and UAA using Docker Compose

This is a local development environment for concourse with credhub.

Prerequisites

You must make sure you have the following pre-requisites installed:

Getting Started

Please run the following the following command from your the directory where you checked the project out.

docker-compose up -d

This should launch:

  • concourse web
  • concourse worker
  • credhub
  • uaa
  • postgresql

To make sure everything has started properly please run:

docker ps

You can also see logs from docker-compose by running:

docker-compose logs -f

Gaining access to the credhub via the CLI

First you need a shell to the container running credhub, please run:

./utils/credhub-shell.sh

Next you will need to install the credhub cli, please run this once:

./credhub-install.sh

If this fails, please give it some time and run it again. Once this is done, you are in a position to start setting some secrets:

credhub set -n /concourse/main/parameters/cat-name --type value --value garfield
credhub set -n /concourse/main/parameters/dog-name --type value --value odie

Creating a pipeline in concourse and testing secret access via credhub

Please make sure you are not in the credhub shell. You can login, create, unpause and run the test pipeline by running the following script:

./utils/install-and-run-pipeline.sh

Credentials

Below are the details of the credentials for your development envirnment.

Credhub

Details for accessing credhub.

  • shell: ./utils/credhub-shell.sh
  • username: credhub
  • password: password

Concourse

Details for accessing concourse.

  • url: http:/localhost:8080
  • username: test
  • password: test

Tutorials

You can find a great tutorial for concourse here.

About

Offical concourse/concourse Docker image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%