Go CD is a utility for infrastructures using docker compose
as a method of deployments. It allows you to update your containers using tokens.
To get started with Go CD, follow these steps:
You can deploy the Go CD container from the registry located at ghcr.io/yyewolf/gocd. Ensure that the following labels are configured in your docker-compose.yml
or deployment manifest:
version: '3'
services:
gocd:
image: ghcr.io/yyewolf/gocd
environment:
- "DISCORD_WEBHOOK=https://discord.com/api/webhooks/your-webhook-id/your-webhook-token"
ports:
- "8080:8080"
You can also deploy a controlled container (it can be started before or after GoCD, it doesn't matter).
version: '3'
services:
container_a:
image: your_image_a
labels:
- "gocd.enable=true"
- "gocd.repo=<repo_url>" # Optional
- "gocd.token=<token>"
You can now restart and update your container by doing the following :
GET /containers/<token>
Replace with the token assigned to the container you want to update.
If you'd like to contribute to Go CD, please follow the contribution guidelines. License
This project is licensed under the MIT License - see the LICENSE file for details.
This project is licensed under the MIT License - see the LICENSE file for details.