https://github.com/vladkens/compose-updater
Simple web-hook based Docker Compose updater
https://github.com/vladkens/compose-updater
automation devops docker docker-compose hacktoberfest
Last synced: 2 months ago
JSON representation
Simple web-hook based Docker Compose updater
- Host: GitHub
- URL: https://github.com/vladkens/compose-updater
- Owner: vladkens
- License: mit
- Created: 2024-11-03T15:40:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T15:33:25.000Z (over 1 year ago)
- Last Synced: 2025-07-01T14:07:11.225Z (12 months ago)
- Topics: automation, devops, docker, docker-compose, hacktoberfest
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# compose-updater
Simple webhook based updater for Docker Compose images inspired by [containrrr/watchtower](https://github.com/containrrr/watchtower) and [umputun/updater](https://github.com/umputun/updater). Has preshiped setup to work with Amazon ECR.
## Usage
Add `compose-updater` to Docker Compose file:
```
name: my-project
services:
web:
image: nginx
ports:
- 80:80
compose-updater:
image: ghcr.io/vladkens/compose-updater:latest
container_name: compose-updater
restart: always
environment:
- API_KEY=1234
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080
```
Run update of given service from CI environment:
```sh
curl -H "x-api-key: 1234" https://example.com:8080/update/my-project/web
```