Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Docker compose plugin

bradeac edited this page Aug 24, 2016 · 1 revision

Install plugin

  • Download gocd-docker_compose_plugin
  • Copy it to Go.CD server plugin external folder (path to go-server/plugins/external)
  • Restart the Go server.

Add a task of Docker Compose type

A task of type Docker Compose needs to be added.

Features

The plugin can execute docker compose build, pull, rm, stop, up commands.

  • Do NOT start any services - if checked, the docker compose up command will NOT be executed.

  • Force a 'build', even if local resources/files are NOT modified - if checked, the docker compose build command will be executed.

  • Force a 'build' WITHOUT using already cached layers - if checked, it will add a --no-cache flag to the docker compose build command.

  • Remove volumes associated with containers - if checked, it will run the docker compose stop command and then the docker compose rm command with the -f and -v flags.

  • Update images used in the docker-compose file - if checked, the docker compose pull command will be run, along with the --ignore-pull-failures flag.

  • Force recreation of containers (e.g. For restarting init) - if checked, the --force-recreate flag will be added to the docker compose up command.

Screenshots