This is a local development environment for concourse that extends the docker-compose based tutorial from concourse-ci. The purpose of this environment is to stand up a concourse playground locally with no additional dependencies outside of docker and docker-compose.
- docker 1.13.0+
- docker-compose
The concourse web-ui and api.
The concourse worker with docker installed. This requires that the docker socket be mounted from your host.
The keygen_sidecar generates all the required SSH keys to turn up the local concourse dev environment. This should be run once on startup and not touched.
Fly is the local command line tooling for concourse. This persists all flyrc files and can either be logged into directly by changing the entrypoint or running it repeatedly.
You can directly attach to fly's shell by running the following command.
docker-compose run --entrypoint sh fly
Since the flyrc persists credentials, you can repeatedly run the service as many times as you want without logging into the shell. I've provided an example command to login to the web-api via docker-compose.
docker-compose run fly -t main -c http://web:8080 -u concourse -changeme
Turn-up can be accomplished simply by running:
docker-compose up
- Invoke the fly service.
docker-compose run fly -t main -c http://web:8080 -u concourse -changeme
- verify that you can access run authenticated tasks.
docker-compose run fly -t main workers